forked from mirrors/nixpkgs
* Urgh. Perl is built during the stdenv bootstrap, where we don't
have libpthread. So don't build with thread support there. svn path=/nixpkgs/branches/stdenv-updates/; revision=15253
This commit is contained in:
parent
a98d8aee74
commit
7e4dcb6c2b
|
@ -23,7 +23,8 @@ stdenv.mkDerivation {
|
||||||
# $out/lib/perl5 - this is the general default, but because $out
|
# $out/lib/perl5 - this is the general default, but because $out
|
||||||
# contains the string "perl", Configure would select $out/lib.
|
# contains the string "perl", Configure would select $out/lib.
|
||||||
configureFlags = ''
|
configureFlags = ''
|
||||||
-de -Dcc=gcc -Uinstallusrbinperl -Dinstallstyle=lib/perl5 -Duseshrplib -Dusethreads
|
-de -Dcc=gcc -Uinstallusrbinperl -Dinstallstyle=lib/perl5 -Duseshrplib
|
||||||
|
${if stdenv ? glibc then "-Dusethreads" else ""}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureScript = "./Configure";
|
configureScript = "./Configure";
|
||||||
|
|
Loading…
Reference in a new issue