]> git.droids-corp.org - dpdk.git/blobdiff - config/meson.build
examples: use new API to create control threads
[dpdk.git] / config / meson.build
index 77af5d897da267e15f6a874d6ae52f2c4c25fe1a..5815b56021b11432ea12955b18f946f049530e89 100644 (file)
@@ -11,6 +11,10 @@ dpdk_conf.set('RTE_MACHINE', machine)
 machine_args = []
 machine_args += '-march=' + machine
 
+toolchain = cc.get_id()
+dpdk_conf.set_quoted('RTE_TOOLCHAIN', toolchain)
+dpdk_conf.set('RTE_TOOLCHAIN_' + toolchain.to_upper(), 1)
+
 # use pthreads
 add_project_link_arguments('-pthread', language: 'c')
 dpdk_extra_ldflags += '-pthread'