summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2005-03-11 00:43:22 +0000
committerChris Larson <clarson@kergoth.com>2005-03-11 00:43:22 +0000
commitd22cebdec656eadcf604989d98fa78c375404467 (patch)
tree6aae28a3c9b6251624b538066db11d1ec6367bd7
parent063b32559f113465ce7f136b594f65179050b77d (diff)
gcc 3.4.x: Build libstdc++ with --disable-hosted-libstdcxx to disable abi check and precompiled headers.
BKrev: 4230e9aao_KPyiTvyJF5GF1LbbZ78Q
-rw-r--r--packages/gcc/gcc-cross_3.4.0.bb2
-rw-r--r--packages/gcc/gcc-cross_3.4.1.bb2
-rw-r--r--packages/gcc/gcc-cross_3.4.2.bb2
-rw-r--r--packages/gcc/gcc-cross_3.4.3.bb2
-rw-r--r--packages/gcc/gcc3-build.inc3
-rw-r--r--packages/gcc/gcc_3.4.0.bb2
-rw-r--r--packages/gcc/gcc_3.4.1.bb2
-rw-r--r--packages/gcc/gcc_3.4.2.bb2
-rw-r--r--packages/gcc/gcc_3.4.3.bb2
9 files changed, 11 insertions, 8 deletions
diff --git a/packages/gcc/gcc-cross_3.4.0.bb b/packages/gcc/gcc-cross_3.4.0.bb
index 2146a31b68..c48b8ad133 100644
--- a/packages/gcc/gcc-cross_3.4.0.bb
+++ b/packages/gcc/gcc-cross_3.4.0.bb
@@ -5,7 +5,7 @@ inherit cross
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"
# NOTE: split PR. If the main .oe changes something that affects its *build*
# remember to increment this one too.
-PR = "r4"
+PR = "r5"
DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc"
PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
diff --git a/packages/gcc/gcc-cross_3.4.1.bb b/packages/gcc/gcc-cross_3.4.1.bb
index 2146a31b68..c48b8ad133 100644
--- a/packages/gcc/gcc-cross_3.4.1.bb
+++ b/packages/gcc/gcc-cross_3.4.1.bb
@@ -5,7 +5,7 @@ inherit cross
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"
# NOTE: split PR. If the main .oe changes something that affects its *build*
# remember to increment this one too.
-PR = "r4"
+PR = "r5"
DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc"
PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
diff --git a/packages/gcc/gcc-cross_3.4.2.bb b/packages/gcc/gcc-cross_3.4.2.bb
index 2146a31b68..c48b8ad133 100644
--- a/packages/gcc/gcc-cross_3.4.2.bb
+++ b/packages/gcc/gcc-cross_3.4.2.bb
@@ -5,7 +5,7 @@ inherit cross
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"
# NOTE: split PR. If the main .oe changes something that affects its *build*
# remember to increment this one too.
-PR = "r4"
+PR = "r5"
DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc"
PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
diff --git a/packages/gcc/gcc-cross_3.4.3.bb b/packages/gcc/gcc-cross_3.4.3.bb
index 0bb212e8d7..791b821d08 100644
--- a/packages/gcc/gcc-cross_3.4.3.bb
+++ b/packages/gcc/gcc-cross_3.4.3.bb
@@ -5,7 +5,7 @@ inherit cross
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"
# NOTE: split PR. If the main .oe changes something that affects its *build*
# remember to increment this one too.
-PR = "r7"
+PR = "r8"
DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc"
PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
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}"
diff --git a/packages/gcc/gcc_3.4.0.bb b/packages/gcc/gcc_3.4.0.bb
index 635c8c3ef4..68d7e06d36 100644
--- a/packages/gcc/gcc_3.4.0.bb
+++ b/packages/gcc/gcc_3.4.0.bb
@@ -1,4 +1,4 @@
-PR = "r4"
+PR = "r5"
DESCRIPTION = "The GNU cc and gcc C compilers."
HOMEPAGE = "http://www.gnu.org/software/gcc/"
SECTION = "devel"
diff --git a/packages/gcc/gcc_3.4.1.bb b/packages/gcc/gcc_3.4.1.bb
index 635c8c3ef4..68d7e06d36 100644
--- a/packages/gcc/gcc_3.4.1.bb
+++ b/packages/gcc/gcc_3.4.1.bb
@@ -1,4 +1,4 @@
-PR = "r4"
+PR = "r5"
DESCRIPTION = "The GNU cc and gcc C compilers."
HOMEPAGE = "http://www.gnu.org/software/gcc/"
SECTION = "devel"
diff --git a/packages/gcc/gcc_3.4.2.bb b/packages/gcc/gcc_3.4.2.bb
index 635c8c3ef4..68d7e06d36 100644
--- a/packages/gcc/gcc_3.4.2.bb
+++ b/packages/gcc/gcc_3.4.2.bb
@@ -1,4 +1,4 @@
-PR = "r4"
+PR = "r5"
DESCRIPTION = "The GNU cc and gcc C compilers."
HOMEPAGE = "http://www.gnu.org/software/gcc/"
SECTION = "devel"
diff --git a/packages/gcc/gcc_3.4.3.bb b/packages/gcc/gcc_3.4.3.bb
index f95ce458b3..1025b6a968 100644
--- a/packages/gcc/gcc_3.4.3.bb
+++ b/packages/gcc/gcc_3.4.3.bb
@@ -1,4 +1,4 @@
-PR = "r8"
+PR = "r9"
DESCRIPTION = "The GNU cc and gcc C compilers."
HOMEPAGE = "http://www.gnu.org/software/gcc/"
SECTION = "devel"