diff options
| author | Matthew McClintock <msm@freescale.com> | 2012-02-28 23:54:52 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-11 11:35:52 +0100 |
| commit | fd9a9a2a9ae9087a234b230a44d146ac71eb8add (patch) | |
| tree | 4cddab64fd9695e6d0781d6f761a4433a2233ef3 | |
| parent | 38a09674254e87e0fdcc02ddbb4c18cb391ff282 (diff) | |
| download | poky-fd9a9a2a9ae9087a234b230a44d146ac71eb8add.tar.gz | |
gcc-configure-common.inc: use --with-long-double-128 on powerpc to comply with ABI
(From OE-Core rev: 243539efec94e79dade2525d0ab3586eea48c529)
Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.7.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.7.inc b/meta/recipes-devtools/gcc/gcc-4.7.inc index 65153b3b80..c7dbc3ccf2 100644 --- a/meta/recipes-devtools/gcc/gcc-4.7.inc +++ b/meta/recipes-devtools/gcc/gcc-4.7.inc | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | require gcc-common.inc | 1 | require gcc-common.inc |
| 2 | 2 | ||
| 3 | PR = "r2" | 3 | PR = "r3" |
| 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.7.1 | 6 | # happens from this branch on gcc e.g. currently its 4.7.1 |
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 | |||
| 61 | EXTRA_OECONF_FPU = "${@get_gcc_fpu_setting(bb, d)}" | 61 | EXTRA_OECONF_FPU = "${@get_gcc_fpu_setting(bb, d)}" |
| 62 | CPPFLAGS = "" | 62 | CPPFLAGS = "" |
| 63 | 63 | ||
| 64 | # powerpc needs this to comply with the ABI | ||
| 65 | EXTRA_OECONF_append_powerpc = " --with-long-double-128" | ||
| 66 | EXTRA_OECONF_append_powerpc64 = " --with-long-double-128" | ||
| 67 | |||
| 64 | # Used by configure to define additional values for FLAGS_FOR_TARGET - | 68 | # Used by configure to define additional values for FLAGS_FOR_TARGET - |
| 65 | # passed to all the compilers. | 69 | # passed to all the compilers. |
| 66 | ARCH_FLAGS_FOR_TARGET = "${TARGET_CC_ARCH}" | 70 | ARCH_FLAGS_FOR_TARGET = "${TARGET_CC_ARCH}" |
