summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc3-build.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gcc/gcc3-build.inc')
-rw-r--r--packages/gcc/gcc3-build.inc3
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}"