treewide: add targetPrefix to hardcoded references to CC=cc

This commit is contained in:
Ben Siraphob
2021-02-16 18:48:46 +07:00
parent ad4db3f4d8
commit 223f25cf4a
53 changed files with 56 additions and 56 deletions

View File

@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
preInstall = ''
mv zic.o zic.o.orig
mv zic zic.orig
make $makeFlags cc=cc AR=ar zic
make $makeFlags cc=${stdenv.cc.targetPrefix}cc AR=${stdenv.cc.targetPrefix}ar zic
mv zic zic-native
mv zic.o.orig zic.o
mv zic.orig zic