diff options
author | Chris Larson <clarson@kergoth.com> | 2005-03-11 00:43:22 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2005-03-11 00:43:22 +0000 |
commit | d22cebdec656eadcf604989d98fa78c375404467 (patch) | |
tree | 6aae28a3c9b6251624b538066db11d1ec6367bd7 /packages/gcc/gcc3-build.inc | |
parent | 063b32559f113465ce7f136b594f65179050b77d (diff) |
gcc 3.4.x: Build libstdc++ with --disable-hosted-libstdcxx to disable abi check and precompiled headers.
BKrev: 4230e9aao_KPyiTvyJF5GF1LbbZ78Q
Diffstat (limited to 'packages/gcc/gcc3-build.inc')
-rw-r--r-- | packages/gcc/gcc3-build.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/gcc/gcc3-build.inc b/packages/gcc/gcc3-build.inc index f555a3f87a..926bbabbcb 100644 --- a/packages/gcc/gcc3-build.inc +++ b/packages/gcc/gcc3-build.inc @@ -9,6 +9,8 @@ gcclibdir ?= "${libdir}/gcc" S = "${WORKDIR}/gcc-${PV}" B = "${S}/build.${HOST_SYS}.${TARGET_SYS}" +# We pass --disable-hosted-libstdcxx to build a "free standing library implementation". +# This ensures that precompiled headers aren't built, nor is the abi check. -CL EXTRA_OECONF = "${@['--enable-clocale=generic', ''][bb.data.getVar('USE_NLS', d, 1) != 'no']} \ --with-gnu-ld \ --enable-shared \ @@ -19,6 +21,7 @@ EXTRA_OECONF = "${@['--enable-clocale=generic', ''][bb.data.getVar('USE_NLS', d, --enable-c99 \ --enable-long-long \ --enable-symvers=gnu \ + --disable-hosted-libstdcxx \ --program-prefix=${TARGET_PREFIX} \ ${EXTRA_OECONF_PATHS} \ ${EXTRA_OECONF_DEP}" |