aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gcc/gcc-configure-common.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-05-11 16:46:45 -0700
committerKhem Raj <raj.khem@gmail.com>2010-05-11 16:46:45 -0700
commitf040929a0756fca1d782b03e2e8be32dd17d3e3f (patch)
tree3699c924c173002628305607a10c2cc9beb8c6a3 /recipes/gcc/gcc-configure-common.inc
parent2137220f4c150af96e6a8aa65ff19a71f5c5a29f (diff)
downloadopenembedded-f040929a0756fca1d782b03e2e8be32dd17d3e3f.tar.gz
gcc-configure: Disable --enable-target-optspace for powerpc.
* Use OPTSPACE to get the value in gcc-cross-initial and gcc-cross-intermediate inc files. Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/gcc/gcc-configure-common.inc')
-rw-r--r--recipes/gcc/gcc-configure-common.inc5
1 files changed, 1 insertions, 4 deletions
diff --git a/recipes/gcc/gcc-configure-common.inc b/recipes/gcc/gcc-configure-common.inc
index fe8b48655d..892d6846e2 100644
--- a/recipes/gcc/gcc-configure-common.inc
+++ b/recipes/gcc/gcc-configure-common.inc
@@ -21,10 +21,7 @@ OBJC ?= ",objc"
# hidden symbols in libgcc.a which linker complains
# when linking shared libraries further in the build like (gnutls)
-OPTSPACE_linux-gnuspe ?= ""
-OPTSPACE_linux-uclibcspe ?= ""
-OPTSPACE ?= "--enable-target-optspace"
-
+OPTSPACE = "${@base_contains('TARGET_ARCH', 'powerpc', '', '--enable-target-optspace',d)}"
# gcc 3.x expects 'f77', 4.0 expects 'f95', 4.1 and 4.2 expect 'fortran'
FORTRAN ?= ",f77"
LANGUAGES ?= "c,c++${OBJC}${FORTRAN}${JAVA}"