Build static libs with gcc

This was the behavior pre stdenv-updates and is needed by some users

Signed-off-by: Shea Levy <shea@shealevy.com>
wip/yesman
Shea Levy 11 years ago
parent a34d00f3b4
commit 6bdafbad9b
  1. 5
      pkgs/development/compilers/gcc/4.8/default.nix

@ -306,9 +306,7 @@ stdenv.mkDerivation ({
''}
'';
# 'iant' at #go-nuts@freenode, gccgo maintainer, said that
# they have a bug in 4.7.1 if adding "--disable-static"
dontDisableStatic = langGo || staticCompiler;
dontDisableStatic = true;
configureFlags = "
${if stdenv.isSunOS then
@ -339,6 +337,7 @@ stdenv.mkDerivation ({
--disable-libstdcxx-pch
--without-included-gettext
--with-system-zlib
--enable-static
--enable-languages=${
concatStrings (intersperse ","
( optional langC "c"

Loading…
Cancel
Save