treewide: drop conditional makeFlag for darwin when specifiying cross-compiler

This commit is contained in:
Ben Siraphob
2021-02-20 01:02:08 +07:00
parent 223f25cf4a
commit 4b2c44c0a7
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
configurePhase = ''
substituteInPlace Makefile --replace /usr/local "$out"
'';
makeFlags = lib.optionals stdenv.isDarwin ["CC=${stdenv.cc.targetPrefix}cc"];
makeFlags = ["CC=${stdenv.cc.targetPrefix}cc"];
patches = [
./apg.patch