diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-10 00:06:12 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-10 13:38:15 +0000 |
commit | a124a0883507caf4ffb7e25be666f6781b30abdd (patch) | |
tree | 4a2809fe487b7be20b7047af145c4a35d83b3459 /meta/recipes-devtools/gcc | |
parent | 548037acd63bd4859f8de8d23a3d12f36ce9f97f (diff) | |
download | openembedded-core-a124a0883507caf4ffb7e25be666f6781b30abdd.tar.gz openembedded-core-a124a0883507caf4ffb7e25be666f6781b30abdd.tar.bz2 openembedded-core-a124a0883507caf4ffb7e25be666f6781b30abdd.tar.xz openembedded-core-a124a0883507caf4ffb7e25be666f6781b30abdd.zip |
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.6.inc | 14 |
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 758c93ea8..ece378d37 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" FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.6' ], d)}" DEPENDS =+ "mpfr gmp libmpc" -NATIVEDEPS = "mpfr-native gmp-native libmpc-native" +NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native" LICENSE="GPL-3.0-with-GCC-exception & GPLv3" @@ -86,16 +86,12 @@ B = "${WORKDIR}/${BRANCH}/build.${HOST_SYS}.${TARGET_SYS}" FORTRAN = "" JAVA = "" -#EXTRA_OECONF_BASE = " --enable-cheaders=c_std \ -# --enable-libssp \ -# --disable-bootstrap \ -# --disable-libgomp \ -# --disable-libmudflap" EXTRA_OECONF_BASE = " --enable-lto \ --enable-libssp \ --disable-bootstrap \ --disable-libgomp \ --disable-libmudflap \ + --with-system-zlib \ --with-linker-hash-style=${LINKER_HASH_STYLE} \ --enable-cheaders=c_global " @@ -103,11 +99,17 @@ EXTRA_OECONF_INITIAL = "--disable-libmudflap \ --disable-libgomp \ --disable-libssp \ --disable-libquadmath \ + --with-system-zlib \ + --disable-lto \ + --disable-plugin \ --enable-decimal-float=no" EXTRA_OECONF_INTERMEDIATE = "--disable-libmudflap \ --disable-libgomp \ --disable-libquadmath \ + --with-system-zlib \ + --disable-lto \ + --disable-plugin \ --disable-libssp" EXTRA_OECONF_append_linux-uclibc = " --disable-decimal-float " |