diff options
author | Chris Larson <clarson@kergoth.com> | 2004-11-16 06:21:57 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-11-16 06:21:57 +0000 |
commit | 6db62db5c4e728547ddefe281ac9e3a9566f37a2 (patch) | |
tree | af4186d379460c2176f27631d417915bf226f0db /gcc/gcc_3.4.0.oe | |
parent | f98ccf66323e9766b507a827530c7d6f5600fe8a (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.0.oe')
-rw-r--r-- | gcc/gcc_3.4.0.oe | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/gcc_3.4.0.oe b/gcc/gcc_3.4.0.oe index 1dbde82100..22fa5e2747 100644 --- a/gcc/gcc_3.4.0.oe +++ b/gcc/gcc_3.4.0.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" @@ -91,7 +91,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-target-optspace \ |