mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 18:49:32 +02:00
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>
This commit is contained in:
@@ -23,7 +23,7 @@ BRANCH = "gcc-4_6-branch"
|
|||||||
FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.6' ], d)}"
|
FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.6' ], d)}"
|
||||||
|
|
||||||
DEPENDS =+ "mpfr gmp libmpc"
|
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"
|
LICENSE="GPL-3.0-with-GCC-exception & GPLv3"
|
||||||
|
|
||||||
@@ -86,16 +86,12 @@ B = "${WORKDIR}/${BRANCH}/build.${HOST_SYS}.${TARGET_SYS}"
|
|||||||
FORTRAN = ""
|
FORTRAN = ""
|
||||||
JAVA = ""
|
JAVA = ""
|
||||||
|
|
||||||
#EXTRA_OECONF_BASE = " --enable-cheaders=c_std \
|
|
||||||
# --enable-libssp \
|
|
||||||
# --disable-bootstrap \
|
|
||||||
# --disable-libgomp \
|
|
||||||
# --disable-libmudflap"
|
|
||||||
EXTRA_OECONF_BASE = " --enable-lto \
|
EXTRA_OECONF_BASE = " --enable-lto \
|
||||||
--enable-libssp \
|
--enable-libssp \
|
||||||
--disable-bootstrap \
|
--disable-bootstrap \
|
||||||
--disable-libgomp \
|
--disable-libgomp \
|
||||||
--disable-libmudflap \
|
--disable-libmudflap \
|
||||||
|
--with-system-zlib \
|
||||||
--with-linker-hash-style=${LINKER_HASH_STYLE} \
|
--with-linker-hash-style=${LINKER_HASH_STYLE} \
|
||||||
--enable-cheaders=c_global "
|
--enable-cheaders=c_global "
|
||||||
|
|
||||||
@@ -103,11 +99,17 @@ EXTRA_OECONF_INITIAL = "--disable-libmudflap \
|
|||||||
--disable-libgomp \
|
--disable-libgomp \
|
||||||
--disable-libssp \
|
--disable-libssp \
|
||||||
--disable-libquadmath \
|
--disable-libquadmath \
|
||||||
|
--with-system-zlib \
|
||||||
|
--disable-lto \
|
||||||
|
--disable-plugin \
|
||||||
--enable-decimal-float=no"
|
--enable-decimal-float=no"
|
||||||
|
|
||||||
EXTRA_OECONF_INTERMEDIATE = "--disable-libmudflap \
|
EXTRA_OECONF_INTERMEDIATE = "--disable-libmudflap \
|
||||||
--disable-libgomp \
|
--disable-libgomp \
|
||||||
--disable-libquadmath \
|
--disable-libquadmath \
|
||||||
|
--with-system-zlib \
|
||||||
|
--disable-lto \
|
||||||
|
--disable-plugin \
|
||||||
--disable-libssp"
|
--disable-libssp"
|
||||||
|
|
||||||
EXTRA_OECONF_append_linux-uclibc = " --disable-decimal-float "
|
EXTRA_OECONF_append_linux-uclibc = " --disable-decimal-float "
|
||||||
|
|||||||
Reference in New Issue
Block a user