forked from mirrors/nixpkgs
parent
e2a54266c4
commit
64ba681f48
|
@ -75,7 +75,8 @@ stdenv.mkDerivation rec {
|
|||
# internal pcre would only add <200kB, but it's relatively common
|
||||
configureFlags = [ "--with-pcre=system" ]
|
||||
++ optional stdenv.isDarwin "--disable-compile-warnings"
|
||||
++ optional (stdenv.hostPlatform.libc != "glibc") "--with-libiconv=gnu"
|
||||
++ optional (stdenv.hostPlatform.libc != "glibc" && !stdenv.hostPlatform.isDarwin)
|
||||
"--with-libiconv=gnu"
|
||||
++ optional stdenv.isSunOS "--disable-dtrace"
|
||||
# Can't run this test when cross-compiling
|
||||
++ optionals (stdenv.hostPlatform != stdenv.buildPlatform)
|
||||
|
|
Loading…
Reference in a new issue