summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-configure-common.inc
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2012-02-28 23:54:52 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-11 11:33:29 +0100
commit243539efec94e79dade2525d0ab3586eea48c529 (patch)
tree58c8f89a8753e0673eeadc414ce63be2616bf3aa /meta/recipes-devtools/gcc/gcc-configure-common.inc
parent4be17f018f8dd0ed576498badc03ee13095b2263 (diff)
downloadopenembedded-core-243539efec94e79dade2525d0ab3586eea48c529.tar.gz
openembedded-core-243539efec94e79dade2525d0ab3586eea48c529.tar.bz2
openembedded-core-243539efec94e79dade2525d0ab3586eea48c529.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/recipes-devtools/gcc/gcc-configure-common.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-common.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc
index 3dd9de785b..908ad3eb2a 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc
@@ -61,6 +61,10 @@ EXTRA_OECONF_append_mips64el = " --with-abi=64 --with-arch-64=mips64 --with-t
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}"