diff options
author | Matthew McClintock <msm@freescale.com> | 2012-02-28 23:54:52 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-21 11:16:40 +0100 |
commit | 0b71ac7a995f3c2f84c26a27ac2d68ded02aa513 (patch) | |
tree | de0adf0647a04d23dc9006068f5c5b538c91e26d /meta/recipes-devtools/gcc | |
parent | bdebedb6cf1c84e8cb0e5f8605d55b9226003345 (diff) | |
download | poky-0b71ac7a995f3c2f84c26a27ac2d68ded02aa513.tar.gz |
gcc-configure-common.inc: use --with-long-double-128 on powerpc to comply with ABI
(From OE-Core rev: a2e00d2cae8e4b58fc3b9fc7853da519a615aa31)
Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.6.inc | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-configure-common.inc | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc index 020e21b071..32545ebe41 100644 --- a/meta/recipes-devtools/gcc/gcc-4.6.inc +++ b/meta/recipes-devtools/gcc/gcc-4.6.inc | |||
@@ -1,6 +1,6 @@ | |||
1 | require gcc-common.inc | 1 | require gcc-common.inc |
2 | 2 | ||
3 | PR = "r25" | 3 | PR = "r26" |
4 | 4 | ||
5 | # Third digit in PV should be incremented after a minor release | 5 | # Third digit in PV should be incremented after a minor release |
6 | # happens from this branch on gcc e.g. currently its 4.6.0 | 6 | # happens from this branch on gcc e.g. currently its 4.6.0 |
diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc index 9542dc9301..0f91ed3426 100644 --- a/meta/recipes-devtools/gcc/gcc-configure-common.inc +++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc | |||
@@ -53,6 +53,10 @@ EXTRA_OECONF_append_linux-uclibceabi = " --disable-__cxa_atexit" | |||
53 | EXTRA_OECONF_FPU = "${@get_gcc_fpu_setting(bb, d)}" | 53 | EXTRA_OECONF_FPU = "${@get_gcc_fpu_setting(bb, d)}" |
54 | CPPFLAGS = "" | 54 | CPPFLAGS = "" |
55 | 55 | ||
56 | # powerpc needs this to comply with the ABI | ||
57 | EXTRA_OECONF_append_powerpc = " --with-long-double-128" | ||
58 | EXTRA_OECONF_append_powerpc64 = " --with-long-double-128" | ||
59 | |||
56 | # Used by configure to define additional values for FLAGS_FOR_TARGET - | 60 | # Used by configure to define additional values for FLAGS_FOR_TARGET - |
57 | # passed to all the compilers. | 61 | # passed to all the compilers. |
58 | ARCH_FLAGS_FOR_TARGET = "${TARGET_CC_ARCH}" | 62 | ARCH_FLAGS_FOR_TARGET = "${TARGET_CC_ARCH}" |