diff options
author | ToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp> | 2020-03-30 09:24:26 +0900 |
---|---|---|
committer | ToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp> | 2020-03-30 09:24:26 +0900 |
commit | 5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (patch) | |
tree | b4bb18dcd1487dbf1ea8127e5671b7bb2eded033 /bsp/meta-freescale/recipes-extended/vpp-core/files/0001-GCC-above-5.4-fails-when-we-specify-arch-funattribut.patch | |
parent | 706ad73eb02caf8532deaf5d38995bd258725cb8 (diff) |
agl-basesystem
Diffstat (limited to 'bsp/meta-freescale/recipes-extended/vpp-core/files/0001-GCC-above-5.4-fails-when-we-specify-arch-funattribut.patch')
-rw-r--r-- | bsp/meta-freescale/recipes-extended/vpp-core/files/0001-GCC-above-5.4-fails-when-we-specify-arch-funattribut.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/bsp/meta-freescale/recipes-extended/vpp-core/files/0001-GCC-above-5.4-fails-when-we-specify-arch-funattribut.patch b/bsp/meta-freescale/recipes-extended/vpp-core/files/0001-GCC-above-5.4-fails-when-we-specify-arch-funattribut.patch new file mode 100644 index 00000000..7f838476 --- /dev/null +++ b/bsp/meta-freescale/recipes-extended/vpp-core/files/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 + |