Remove --with-stage1-libs from gcc-4.6.0 when building against a static ppl

--with-stage1-libs defaults to whatever is passed to --with-host-libstdcxx, and building gcc 4.6.0 against a static ppl fails when --with-stage1-libs is specified as it is here

svn path=/nixpkgs/trunk/; revision=26702
This commit is contained in:
Shea Levy 2011-04-05 16:55:09 +00:00
parent 566a2eba74
commit 76610988f8

View file

@ -221,8 +221,7 @@ stdenv.mkDerivation ({
configureFlagsArray = stdenv.lib.optionals
(ppl != null && ppl.dontDisableStatic == true)
[ "--with-host-libstdcxx=-lstdc++ -lgcc_s"
"--with-stage1-libs=-lstdc++ -lgcc_s" ];
[ "--with-host-libstdcxx=-lstdc++ -lgcc_s" ];
configureFlags = "
${if enableMultilib then "" else "--disable-multilib"}