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>
This commit is contained in:
parent
a34d00f3b4
commit
6bdafbad9b
@ -306,9 +306,7 @@ stdenv.mkDerivation ({
|
|||||||
''}
|
''}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# 'iant' at #go-nuts@freenode, gccgo maintainer, said that
|
dontDisableStatic = true;
|
||||||
# they have a bug in 4.7.1 if adding "--disable-static"
|
|
||||||
dontDisableStatic = langGo || staticCompiler;
|
|
||||||
|
|
||||||
configureFlags = "
|
configureFlags = "
|
||||||
${if stdenv.isSunOS then
|
${if stdenv.isSunOS then
|
||||||
@ -339,6 +337,7 @@ stdenv.mkDerivation ({
|
|||||||
--disable-libstdcxx-pch
|
--disable-libstdcxx-pch
|
||||||
--without-included-gettext
|
--without-included-gettext
|
||||||
--with-system-zlib
|
--with-system-zlib
|
||||||
|
--enable-static
|
||||||
--enable-languages=${
|
--enable-languages=${
|
||||||
concatStrings (intersperse ","
|
concatStrings (intersperse ","
|
||||||
( optional langC "c"
|
( optional langC "c"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user