mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
guile: Don't use stdenv.cross
This commit is contained in:
parent
deb8fae4c0
commit
c3c5793ab2
@ -1,5 +1,7 @@
|
||||
{ fetchurl, stdenv, libtool, readline, gmp, pkgconfig, boehmgc, libunistring
|
||||
, libffi, gawk, makeWrapper, fetchpatch, coverageAnalysis ? null, gnu ? null }:
|
||||
, libffi, gawk, makeWrapper, fetchpatch, coverageAnalysis ? null, gnu ? null
|
||||
, hostPlatform
|
||||
}:
|
||||
|
||||
# Do either a coverage analysis build or a standard build.
|
||||
(if coverageAnalysis != null
|
||||
@ -84,7 +86,7 @@
|
||||
setupHook = ./setup-hook-2.0.sh;
|
||||
|
||||
crossAttrs.preConfigure =
|
||||
stdenv.lib.optionalString (stdenv.cross.config == "i586-pc-gnu")
|
||||
stdenv.lib.optionalString (hostPlatform.isHurd)
|
||||
# On GNU, libgc depends on libpthread, but the cross linker doesn't
|
||||
# know where to find libpthread, which leads to erroneous test failures
|
||||
# in `configure', where `-pthread' and `-lpthread' aren't explicitly
|
||||
|
@ -1,5 +1,7 @@
|
||||
{ fetchurl, stdenv, libtool, readline, gmp, pkgconfig, boehmgc, libunistring
|
||||
, libffi, gawk, makeWrapper, fetchpatch, coverageAnalysis ? null, gnu ? null }:
|
||||
, libffi, gawk, makeWrapper, fetchpatch, coverageAnalysis ? null, gnu ? null
|
||||
, hostPlatform
|
||||
}:
|
||||
|
||||
# Do either a coverage analysis build or a standard build.
|
||||
(if coverageAnalysis != null
|
||||
@ -80,7 +82,7 @@
|
||||
setupHook = ./setup-hook-2.2.sh;
|
||||
|
||||
crossAttrs.preConfigure =
|
||||
stdenv.lib.optionalString (stdenv.cross.config == "i586-pc-gnu")
|
||||
stdenv.lib.optionalString (hostPlatform.isHurd)
|
||||
# On GNU, libgc depends on libpthread, but the cross linker doesn't
|
||||
# know where to find libpthread, which leads to erroneous test failures
|
||||
# in `configure', where `-pthread' and `-lpthread' aren't explicitly
|
||||
|
Loading…
Reference in New Issue
Block a user