diff options
Diffstat (limited to 'mk/rte.cpuflags.mk')
-rw-r--r-- | mk/rte.cpuflags.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/rte.cpuflags.mk b/mk/rte.cpuflags.mk index c3291b17..541211c6 100644 --- a/mk/rte.cpuflags.mk +++ b/mk/rte.cpuflags.mk @@ -69,8 +69,8 @@ ifneq ($(filter $(AUTO_CPUFLAGS),__AVX512F__),) ifeq ($(CONFIG_RTE_ENABLE_AVX512),y) CPUFLAGS += AVX512F else -# disable AVX512F support of gcc as a workaround for Bug 97 -ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y) +# disable AVX512F support for GCC & binutils 2.30 as a workaround for Bug 97 +ifeq ($(FORCE_DISABLE_AVX512),y) MACHINE_CFLAGS += -mno-avx512f endif endif |