gcc: disable NLS support.

This commit is contained in:
Juan RP 2015-05-29 10:10:38 +02:00
parent c979cb5bb3
commit 2ac69d39e5

View File

@ -2,7 +2,7 @@
pkgname=gcc
_majorver=4.9
version=${_majorver}.2
revision=5
revision=6
short_desc="The GNU C Compiler"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://gcc.gnu.org"
@ -139,7 +139,7 @@ do_configure() {
--infodir=/usr/share/info --libexecdir=/usr/lib --libdir=/usr/lib \
--enable-threads=posix --enable-__cxa_atexit --disable-multilib \
--with-system-zlib --enable-shared --enable-lto \
--enable-linker-build-id --disable-werror \
--enable-linker-build-id --disable-werror --disable-nls \
--enable-checking=release --disable-libstdcxx-pch \
--enable-cloog-backend=isl --with-linker-hash-style=gnu \
--enable-languages=${_langs} ${_args}
@ -508,13 +508,6 @@ libstdc++_package() {
short_desc+=" - Standard C++ Library"
pkg_install() {
vmove "usr/lib/libstdc++.so*"
case "$XBPS_TARGET_MACHINE" in
*-musl);;
*)
vmove usr/share/locale/fr/LC_MESSAGES/libstdc++.mo
vmove usr/share/locale/de/LC_MESSAGES/libstdc++.mo
;;
esac
vinstall ${wrksrc}/COPYING.RUNTIME 644 usr/share/licenses/$pkgname RUNTIME.LIBRARY.EXCEPTION
}
}