forked from mirrors/nixpkgs
procps: Enable cross-compilation
This commit is contained in:
parent
2893657014
commit
c3bf521f18
|
@ -16,7 +16,10 @@ stdenv.mkDerivation rec {
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
# Too red
|
# Too red
|
||||||
configureFlags = [ "--disable-modern-top" ];
|
configureFlags = [ "--disable-modern-top" ]
|
||||||
|
++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform)
|
||||||
|
[ "ac_cv_func_malloc_0_nonnull=yes"
|
||||||
|
"ac_cv_func_realloc_0_nonnull=yes" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://sourceforge.net/projects/procps-ng/;
|
homepage = https://sourceforge.net/projects/procps-ng/;
|
||||||
|
|
Loading…
Reference in a new issue