gcc: disable NLS support.
This commit is contained in:
parent
c979cb5bb3
commit
2ac69d39e5
|
@ -2,7 +2,7 @@
|
||||||
pkgname=gcc
|
pkgname=gcc
|
||||||
_majorver=4.9
|
_majorver=4.9
|
||||||
version=${_majorver}.2
|
version=${_majorver}.2
|
||||||
revision=5
|
revision=6
|
||||||
short_desc="The GNU C Compiler"
|
short_desc="The GNU C Compiler"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://gcc.gnu.org"
|
homepage="http://gcc.gnu.org"
|
||||||
|
@ -139,7 +139,7 @@ do_configure() {
|
||||||
--infodir=/usr/share/info --libexecdir=/usr/lib --libdir=/usr/lib \
|
--infodir=/usr/share/info --libexecdir=/usr/lib --libdir=/usr/lib \
|
||||||
--enable-threads=posix --enable-__cxa_atexit --disable-multilib \
|
--enable-threads=posix --enable-__cxa_atexit --disable-multilib \
|
||||||
--with-system-zlib --enable-shared --enable-lto \
|
--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-checking=release --disable-libstdcxx-pch \
|
||||||
--enable-cloog-backend=isl --with-linker-hash-style=gnu \
|
--enable-cloog-backend=isl --with-linker-hash-style=gnu \
|
||||||
--enable-languages=${_langs} ${_args}
|
--enable-languages=${_langs} ${_args}
|
||||||
|
@ -508,13 +508,6 @@ libstdc++_package() {
|
||||||
short_desc+=" - Standard C++ Library"
|
short_desc+=" - Standard C++ Library"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/lib/libstdc++.so*"
|
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
|
vinstall ${wrksrc}/COPYING.RUNTIME 644 usr/share/licenses/$pkgname RUNTIME.LIBRARY.EXCEPTION
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue