atomicparsley: fix cross

wip/yesman
Robin Gloster 5 years ago
parent ecf59492c7
commit 0dbdf29237
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF
  1. 6
      pkgs/tools/video/atomicparsley/default.nix

@ -18,6 +18,12 @@ stdenv.mkDerivation rec {
cf-private
];
configureFlags = stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
# AC_FUNC_MALLOC is broken on cross builds.
"ac_cv_func_malloc_0_nonnull=yes"
"ac_cv_func_realloc_0_nonnull=yes"
];
installPhase = "install -D AtomicParsley $out/bin/AtomicParsley";
meta = with stdenv.lib; {

Loading…
Cancel
Save