summaryrefslogtreecommitdiff
path: root/gcc/gcc_3.3.3.oe
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-11-16 06:21:57 +0000
committerChris Larson <clarson@kergoth.com>2004-11-16 06:21:57 +0000
commit6db62db5c4e728547ddefe281ac9e3a9566f37a2 (patch)
treeaf4186d379460c2176f27631d417915bf226f0db /gcc/gcc_3.3.3.oe
parentf98ccf66323e9766b507a827530c7d6f5600fe8a (diff)
Use the gettext oeclass in the gcc builds, and add a bit to manipulate the stdc++ clocale when USE_NLS is 'no'.
BKrev: 41999c85DGdJXQ9gd_bowsgp6QnQ_w
Diffstat (limited to 'gcc/gcc_3.3.3.oe')
-rw-r--r--gcc/gcc_3.3.3.oe5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/gcc_3.3.3.oe b/gcc/gcc_3.3.3.oe
index 9dfa1a8089..fafc344fb5 100644
--- a/gcc/gcc_3.3.3.oe
+++ b/gcc/gcc_3.3.3.oe
@@ -1,5 +1,6 @@
SECTION = "devel"
-inherit autotools
+PR = "r1"
+inherit autotools gettext
DESCRIPTION = "The GNU cc and gcc C compilers."
LICENSE = "GPL"
@@ -96,7 +97,7 @@ ${GNU_MIRROR}/gcc/releases/ http://gcc.get-software.com/releases/
S = "${WORKDIR}/gcc-${PV}"
B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
-EXTRA_OECONF = "--disable-nls \
+EXTRA_OECONF = "${@['--enable-clocale=generic', ''][oe.data.getVar('USE_NLS', d, 1) != 'no']} \
--with-gnu-ld \
--enable-shared \
--enable-multilib \