mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-05 22:06:00 +03:00
Merge pull request #6040 from ambrop72/gawk-cross
gawk: Fix cross compiling.
This commit is contained in:
commit
45c52b7312
@ -8,6 +8,16 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0hin2hswbbd6kd6i4zzvgciwpl5fba8d2s524z8y5qagyz3x010q";
|
||||
};
|
||||
|
||||
# Fix cross compile (stolen from Gentoo).
|
||||
# Not needed for 4.1.1.
|
||||
crossAttrs = {
|
||||
preConfigure = ''
|
||||
sed -i \
|
||||
-e '/check-recursive all-recursive: check-for-shared-lib-support/d' \
|
||||
extension/Makefile.in
|
||||
'';
|
||||
};
|
||||
|
||||
doCheck = !stdenv.isCygwin; # XXX: `test-dup2' segfaults on Cygwin 6.1
|
||||
|
||||
buildInputs = [ libsigsegv ]
|
||||
|
Loading…
Reference in New Issue
Block a user