mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
* 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 New Issue
Block a user