parent
e2a54266c4
commit
64ba681f48
1 changed files with 2 additions and 1 deletions
|
@ -75,7 +75,8 @@ stdenv.mkDerivation rec {
|
||||||
# internal pcre would only add <200kB, but it's relatively common
|
# internal pcre would only add <200kB, but it's relatively common
|
||||||
configureFlags = [ "--with-pcre=system" ]
|
configureFlags = [ "--with-pcre=system" ]
|
||||||
++ optional stdenv.isDarwin "--disable-compile-warnings"
|
++ 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"
|
++ optional stdenv.isSunOS "--disable-dtrace"
|
||||||
# Can't run this test when cross-compiling
|
# Can't run this test when cross-compiling
|
||||||
++ optionals (stdenv.hostPlatform != stdenv.buildPlatform)
|
++ optionals (stdenv.hostPlatform != stdenv.buildPlatform)
|
||||||
|
|
Loading…
Reference in a new issue