Reduce dependency bloat
This commit is contained in:
parent
4970574409
commit
fcf99efcd2
@ -1,4 +1,4 @@
|
|||||||
{ fetchurl, stdenv, dejagnu }:
|
{ fetchurl, stdenv }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libffi-3.2.1";
|
name = "libffi-3.2.1";
|
||||||
@ -10,15 +10,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patches = if stdenv.isCygwin then [ ./3.2.1-cygwin.patch ] else null;
|
patches = if stdenv.isCygwin then [ ./3.2.1-cygwin.patch ] else null;
|
||||||
|
|
||||||
buildInputs = stdenv.lib.optional doCheck dejagnu;
|
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-gcc-arch=generic" # no detection of -march= or -mtune=
|
"--with-gcc-arch=generic" # no detection of -march= or -mtune=
|
||||||
"--enable-pax_emutramp"
|
"--enable-pax_emutramp"
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = stdenv.isLinux; # until we solve dejagnu problems on darwin and expect on BSD
|
|
||||||
|
|
||||||
dontStrip = stdenv ? cross; # Don't run the native `strip' when cross-compiling.
|
dontStrip = stdenv ? cross; # Don't run the native `strip' when cross-compiling.
|
||||||
|
|
||||||
# Install headers in the right place.
|
# Install headers in the right place.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user