diff options
author | Matthew McClintock <msm@freescale.com> | 2012-02-28 23:54:52 +0000 |
---|---|---|
committer | Scott Garman <scott.a.garman@intel.com> | 2012-07-18 10:18:50 -0700 |
commit | a2e00d2cae8e4b58fc3b9fc7853da519a615aa31 (patch) | |
tree | 5aab1af590b57925244155fc79f847c2b1d818d7 /meta | |
parent | 6ef3b77ba8baddb5748f2ee27d39a5a0d32e3bfb (diff) | |
download | openembedded-core-a2e00d2cae8e4b58fc3b9fc7853da519a615aa31.tar.gz openembedded-core-a2e00d2cae8e4b58fc3b9fc7853da519a615aa31.tar.bz2 openembedded-core-a2e00d2cae8e4b58fc3b9fc7853da519a615aa31.zip |
gcc-configure-common.inc: use --with-long-double-128 on powerpc to comply with ABI
Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 @@ require gcc-common.inc -PR = "r25" +PR = "r26" # Third digit in PV should be incremented after a minor release # 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" EXTRA_OECONF_FPU = "${@get_gcc_fpu_setting(bb, d)}" CPPFLAGS = "" +# powerpc needs this to comply with the ABI +EXTRA_OECONF_append_powerpc = " --with-long-double-128" +EXTRA_OECONF_append_powerpc64 = " --with-long-double-128" + # Used by configure to define additional values for FLAGS_FOR_TARGET - # passed to all the compilers. ARCH_FLAGS_FOR_TARGET = "${TARGET_CC_ARCH}" |