summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.6.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-10 00:06:12 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-10 14:38:45 +0000
commitc62296dab6cd05f4137753f69e24a3a6cf4b453f (patch)
treee1177a0791bcc2e709fec293ea845caf4b3a8c3d /meta/recipes-devtools/gcc/gcc-4.6.inc
parent12306d01a091899178aca26b629bf14f6161dfb4 (diff)
downloadpoky-c62296dab6cd05f4137753f69e24a3a6cf4b453f.tar.gz
gcc-4.6: Some small performance tweaks
a) Use the system zlib to avoid building it for each gcc. b) -initial and -intermediate don't need plugins or lto-plugin so disable them. (From OE-Core rev: a124a0883507caf4ffb7e25be666f6781b30abdd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.6.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.6.inc14
1 files changed, 8 insertions, 6 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc
index 758c93ea88..ece378d372 100644
--- a/meta/recipes-devtools/gcc/gcc-4.6.inc
+++ b/meta/recipes-devtools/gcc/gcc-4.6.inc
@@ -23,7 +23,7 @@ BRANCH = "gcc-4_6-branch"
23FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.6' ], d)}" 23FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.6' ], d)}"
24 24
25DEPENDS =+ "mpfr gmp libmpc" 25DEPENDS =+ "mpfr gmp libmpc"
26NATIVEDEPS = "mpfr-native gmp-native libmpc-native" 26NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native"
27 27
28LICENSE="GPL-3.0-with-GCC-exception & GPLv3" 28LICENSE="GPL-3.0-with-GCC-exception & GPLv3"
29 29
@@ -86,16 +86,12 @@ B = "${WORKDIR}/${BRANCH}/build.${HOST_SYS}.${TARGET_SYS}"
86FORTRAN = "" 86FORTRAN = ""
87JAVA = "" 87JAVA = ""
88 88
89#EXTRA_OECONF_BASE = " --enable-cheaders=c_std \
90# --enable-libssp \
91# --disable-bootstrap \
92# --disable-libgomp \
93# --disable-libmudflap"
94EXTRA_OECONF_BASE = " --enable-lto \ 89EXTRA_OECONF_BASE = " --enable-lto \
95 --enable-libssp \ 90 --enable-libssp \
96 --disable-bootstrap \ 91 --disable-bootstrap \
97 --disable-libgomp \ 92 --disable-libgomp \
98 --disable-libmudflap \ 93 --disable-libmudflap \
94 --with-system-zlib \
99 --with-linker-hash-style=${LINKER_HASH_STYLE} \ 95 --with-linker-hash-style=${LINKER_HASH_STYLE} \
100 --enable-cheaders=c_global " 96 --enable-cheaders=c_global "
101 97
@@ -103,11 +99,17 @@ EXTRA_OECONF_INITIAL = "--disable-libmudflap \
103 --disable-libgomp \ 99 --disable-libgomp \
104 --disable-libssp \ 100 --disable-libssp \
105 --disable-libquadmath \ 101 --disable-libquadmath \
102 --with-system-zlib \
103 --disable-lto \
104 --disable-plugin \
106 --enable-decimal-float=no" 105 --enable-decimal-float=no"
107 106
108EXTRA_OECONF_INTERMEDIATE = "--disable-libmudflap \ 107EXTRA_OECONF_INTERMEDIATE = "--disable-libmudflap \
109 --disable-libgomp \ 108 --disable-libgomp \
110 --disable-libquadmath \ 109 --disable-libquadmath \
110 --with-system-zlib \
111 --disable-lto \
112 --disable-plugin \
111 --disable-libssp" 113 --disable-libssp"
112 114
113EXTRA_OECONF_append_linux-uclibc = " --disable-decimal-float " 115EXTRA_OECONF_append_linux-uclibc = " --disable-decimal-float "