diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-configure-common.inc | 8 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-target.inc | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc index 00ef89ec57..086525997e 100644 --- a/meta/recipes-devtools/gcc/gcc-configure-common.inc +++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc | |||
@@ -66,14 +66,6 @@ EXTRA_OECONF_append_mipsisa32r6 = " --with-abi=32 --with-arch=mips32r6" | |||
66 | EXTRA_OECONF_append_mipsisa64r6el = " --with-abi=64 --with-arch-64=mips64r6" | 66 | EXTRA_OECONF_append_mipsisa64r6el = " --with-abi=64 --with-arch-64=mips64r6" |
67 | EXTRA_OECONF_append_mipsisa64r6 = " --with-abi=64 --with-arch-64=mips64r6" | 67 | EXTRA_OECONF_append_mipsisa64r6 = " --with-abi=64 --with-arch-64=mips64r6" |
68 | 68 | ||
69 | # ARMv6+ adds atomic instructions that affect the ABI in libraries built | ||
70 | # with TUNE_CCARGS in gcc-runtime. Make the compiler default to a | ||
71 | # compatible architecture. armv6 and armv7a cover the minimum tune | ||
72 | # features used in OE. | ||
73 | EXTRA_OECONF_append_armv6 = " --with-arch=armv6" | ||
74 | EXTRA_OECONF_append_armv7a = " --with-arch=armv7-a" | ||
75 | EXTRA_OECONF_append_armv7ve = " --with-arch=armv7-a" | ||
76 | |||
77 | EXTRA_OECONF_GCC_FLOAT ??= "" | 69 | EXTRA_OECONF_GCC_FLOAT ??= "" |
78 | CPPFLAGS = "" | 70 | CPPFLAGS = "" |
79 | 71 | ||
diff --git a/meta/recipes-devtools/gcc/gcc-target.inc b/meta/recipes-devtools/gcc/gcc-target.inc index eef4434dbb..b6e31f5d93 100644 --- a/meta/recipes-devtools/gcc/gcc-target.inc +++ b/meta/recipes-devtools/gcc/gcc-target.inc | |||
@@ -9,6 +9,14 @@ EXTRA_OECONF_PATHS = "\ | |||
9 | 9 | ||
10 | EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu" | 10 | EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu" |
11 | 11 | ||
12 | # ARMv6+ adds atomic instructions that affect the ABI in libraries built | ||
13 | # with TUNE_CCARGS in gcc-runtime. Make the compiler default to a | ||
14 | # compatible architecture. armv6 and armv7a cover the minimum tune | ||
15 | # features used in OE. | ||
16 | EXTRA_OECONF_append_armv6 = " --with-arch=armv6" | ||
17 | EXTRA_OECONF_append_armv7a = " --with-arch=armv7-a" | ||
18 | EXTRA_OECONF_append_armv7ve = " --with-arch=armv7-a" | ||
19 | |||
12 | # libcc1 requres gcc_cv_objdump when cross build, but gcc_cv_objdump is | 20 | # libcc1 requres gcc_cv_objdump when cross build, but gcc_cv_objdump is |
13 | # set in subdir gcc, so subdir libcc1 can't use it, export it here to | 21 | # set in subdir gcc, so subdir libcc1 can't use it, export it here to |
14 | # fix the problem. | 22 | # fix the problem. |