diff options
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-configure-common.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc index 71dce12f45..48fb7995ca 100644 --- a/meta/recipes-devtools/gcc/gcc-configure-common.inc +++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc | |||
@@ -64,6 +64,13 @@ EXTRA_OECONF_append_libc-uclibc = " --enable-__cxa_atexit" | |||
64 | EXTRA_OECONF_append_mips64 = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" | 64 | EXTRA_OECONF_append_mips64 = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" |
65 | EXTRA_OECONF_append_mips64el = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" | 65 | EXTRA_OECONF_append_mips64el = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" |
66 | 66 | ||
67 | # ARMv6+ adds atomic instructions that affect the ABI in libraries built | ||
68 | # with TUNE_CCARGS in gcc-runtime. Make the compiler default to a | ||
69 | # compatible architecture. armv6 and armv7a cover the minimum tune | ||
70 | # features used in OE. | ||
71 | EXTRA_OECONF_append_armv6 = " --with-arch=armv6" | ||
72 | EXTRA_OECONF_append_armv7a = " --with-arch=armv7-a" | ||
73 | |||
67 | EXTRA_OECONF_GCC_FLOAT ??= "" | 74 | EXTRA_OECONF_GCC_FLOAT ??= "" |
68 | CPPFLAGS = "" | 75 | CPPFLAGS = "" |
69 | 76 | ||