summaryrefslogtreecommitdiff
path: root/gcc/gcc_3.4.1.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.4.1.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.4.1.oe')
-rw-r--r--gcc/gcc_3.4.1.oe6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/gcc_3.4.1.oe b/gcc/gcc_3.4.1.oe
index 6782d98ead..58001c4d4d 100644
--- a/gcc/gcc_3.4.1.oe
+++ b/gcc/gcc_3.4.1.oe
@@ -1,7 +1,7 @@
SECTION = "devel"
-PR = "r1"
+PR = "r2"
-inherit autotools
+inherit autotools gettext
DESCRIPTION = "The GNU cc and gcc C compilers."
LICENSE = "GPL"
@@ -89,7 +89,7 @@ ${GNU_MIRROR}/gcc/ http://mirrors.rcn.net/pub/sourceware/gcc/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-target-optspace \