Merge pull request #60678 from mayflower/atomicparsley-cross
atomicparsley: fix cross
This commit is contained in:
commit
97450715da
@ -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 New Issue
Block a user