diff options
Diffstat (limited to 'recipes-extended/vpp-core/vpp-core/0001-GCC-above-5.4-fails-when-we-specify-arch-funattribut.patch')
-rw-r--r-- | recipes-extended/vpp-core/vpp-core/0001-GCC-above-5.4-fails-when-we-specify-arch-funattribut.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-extended/vpp-core/vpp-core/0001-GCC-above-5.4-fails-when-we-specify-arch-funattribut.patch b/recipes-extended/vpp-core/vpp-core/0001-GCC-above-5.4-fails-when-we-specify-arch-funattribut.patch new file mode 100644 index 00000000..7f838476 --- /dev/null +++ b/recipes-extended/vpp-core/vpp-core/0001-GCC-above-5.4-fails-when-we-specify-arch-funattribut.patch @@ -0,0 +1,26 @@ +From 6dab3ad3f91ebcdb16eb9bbb37383718793b675a Mon Sep 17 00:00:00 2001 +From: babak sarashki <babak.sarashki@windriver.com> +Date: Sat, 29 Sep 2018 09:57:05 -0700 +Subject: [PATCH] GCC above 5.4 fails when we specify arch funattribute. + +Here we are as a workaround setting target. +--- + src/vppinfra/cpu.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/vppinfra/cpu.h b/src/vppinfra/cpu.h +index 110815c..618276c 100644 +--- a/src/vppinfra/cpu.h ++++ b/src/vppinfra/cpu.h +@@ -27,7 +27,7 @@ + + #if __x86_64__ && CLIB_DEBUG == 0 + #define foreach_march_variant(macro, x) \ +- macro(avx2, x, "arch=core-avx2") ++ macro(avx2, x, "avx2") + #else + #define foreach_march_variant(macro, x) + #endif +-- +2.7.4 + |