atomicparsley: fix cross
This commit is contained in:
parent
ecf59492c7
commit
0dbdf29237
1 changed files with 6 additions and 0 deletions
|
@ -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…
Reference in a new issue