treewide: add targetPrefix to hardcoded references to CC=cc
This commit is contained in:
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
||||
configurePhase = ''
|
||||
substituteInPlace Makefile --replace /usr/local "$out"
|
||||
'';
|
||||
makeFlags = lib.optionals stdenv.isDarwin ["CC=cc"];
|
||||
makeFlags = lib.optionals stdenv.isDarwin ["CC=${stdenv.cc.targetPrefix}cc"];
|
||||
|
||||
patches = [
|
||||
./apg.patch
|
||||
|
||||
Reference in New Issue
Block a user