mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
GCC 4.4: Don't use the included Gettext.
svn path=/nixpkgs/trunk/; revision=16415
This commit is contained in:
parent
04cc6b721a
commit
deb63071d7
@ -4,7 +4,7 @@
|
||||
, profiledCompiler ? false
|
||||
, staticCompiler ? false
|
||||
, texinfo ? null
|
||||
, gmp, mpfr
|
||||
, gmp, mpfr, gettext
|
||||
, bison ? null, flex ? null
|
||||
, zlib ? null, boehmgc ? null
|
||||
, enableMultilib ? false
|
||||
@ -50,12 +50,11 @@ stdenv.mkDerivation ({
|
||||
patches =
|
||||
[./pass-cxxcpp.patch]
|
||||
++ optional noSysDirs ./no-sys-dirs.patch
|
||||
++ optional (noSysDirs && langFortran) ./no-sys-dirs-fortran.patch
|
||||
++ optional langJava ./java-jvgenmain-link.patch;
|
||||
++ optional (noSysDirs && langFortran) ./no-sys-dirs-fortran.patch;
|
||||
|
||||
inherit noSysDirs profiledCompiler staticCompiler;
|
||||
|
||||
buildInputs = [texinfo gmp mpfr]
|
||||
buildInputs = [ texinfo gmp mpfr gettext ]
|
||||
++ (optionals langTreelang [bison flex])
|
||||
++ (optional (zlib != null) zlib)
|
||||
++ (optional (boehmgc != null) boehmgc)
|
||||
@ -64,6 +63,7 @@ stdenv.mkDerivation ({
|
||||
configureFlags = "
|
||||
${if enableMultilib then "" else "--disable-multilib"}
|
||||
--disable-libstdcxx-pch
|
||||
--without-included-gettext
|
||||
--with-system-zlib
|
||||
--enable-languages=${
|
||||
concatStrings (intersperse ","
|
||||
@ -87,7 +87,12 @@ stdenv.mkDerivation ({
|
||||
meta = {
|
||||
homepage = "http://gcc.gnu.org/";
|
||||
license = "GPL/LGPL";
|
||||
description = "GNU Compiler Collection, 4.3.x";
|
||||
description = "GNU Compiler Collection, version ${version}";
|
||||
|
||||
maintainers = [
|
||||
# Add your name here!
|
||||
stdenv.lib.maintainers.ludo
|
||||
];
|
||||
};
|
||||
} // (if langJava then {
|
||||
postConfigure = ''
|
||||
|
@ -1661,7 +1661,7 @@ let
|
||||
}));
|
||||
|
||||
gcc44 = wrapGCC (makeOverridable (import ../development/compilers/gcc-4.4) {
|
||||
inherit fetchurl stdenv texinfo gmp mpfr noSysDirs;
|
||||
inherit fetchurl stdenv texinfo gmp mpfr gettext noSysDirs;
|
||||
profiledCompiler = true;
|
||||
});
|
||||
|
||||
@ -1727,7 +1727,7 @@ let
|
||||
langCC = true;
|
||||
langC = false;
|
||||
profiledCompiler = false;
|
||||
inherit zlib boehmgc;
|
||||
inherit zlib boehmgc gettext;
|
||||
});
|
||||
|
||||
#ghc = haskellPackages.ghc;
|
||||
|
Loading…
Reference in New Issue
Block a user