arcanist: fix on aarch64
This commit is contained in:
parent
6e8021d412
commit
3a5c489603
|
@ -21,11 +21,18 @@ stdenv.mkDerivation rec {
|
|||
src = [ arcanist libphutil ];
|
||||
buildInputs = [ php makeWrapper flex ];
|
||||
|
||||
unpackPhase = "true";
|
||||
buildPhase = ''
|
||||
unpackPhase = ''
|
||||
cp -R ${libphutil} libphutil
|
||||
cp -R ${arcanist} arcanist
|
||||
chmod +w -R libphutil arcanist
|
||||
'';
|
||||
|
||||
postPatch = stdenv.lib.optionalString stdenv.isAarch64 ''
|
||||
substituteInPlace libphutil/support/xhpast/Makefile \
|
||||
--replace "-minline-all-stringops" ""
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
(
|
||||
cd libphutil/support/xhpast
|
||||
make clean all install
|
||||
|
|
Loading…
Reference in New Issue