]> git.droids-corp.org - dpdk.git/blobdiff - mk/rte.cpuflags.mk
mk: influence CPU flags with user input
[dpdk.git] / mk / rte.cpuflags.mk
index 0a340a9d89518cea592c820b0a78a8bc06398a7f..c6bb8de7c75044105787c9d959bd117c5c82334b 100644 (file)
@@ -33,7 +33,7 @@
 # used to set the RTE_CPUFLAG_* environment variables giving details
 # of what instruction sets the target cpu supports.
 
-AUTO_CPUFLAGS := $(shell $(CC) $(MACHINE_CFLAGS) -dM -E - < /dev/null)
+AUTO_CPUFLAGS := $(shell $(CC) $(MACHINE_CFLAGS) $(EXTRA_CFLAGS) -dM -E - < /dev/null)
 
 # adding flags to CPUFLAGS