bayescan: fix cross
This commit is contained in:
@@ -24,8 +24,8 @@ stdenv.mkDerivation rec {
|
|||||||
sourceRoot = "BayeScan${version}/source";
|
sourceRoot = "BayeScan${version}/source";
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace Makefile --replace "-static" "" \
|
substituteInPlace Makefile --replace-fail "-static" "" \
|
||||||
--replace "g++" "c++"
|
--replace-fail "g++" "${stdenv.cc.targetPrefix}c++"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user