Change occurrences of gcc to the more general cc

This is done for the sake of Yosemite, which does not have gcc, and yet
this change is also compatible with Linux.
This commit is contained in:
John Wiegley
2014-12-26 11:06:21 -06:00
parent ce100a5d58
commit 28b6fb61e6
252 changed files with 553 additions and 540 deletions
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [
glibc
glib
stdenv.gcc.gcc
stdenv.cc.gcc
libSM
libICE
libXi
@@ -59,7 +59,7 @@ stdenv.mkDerivation {
fullPath=$fullPath:$i/lib
done
patchelf --interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
--set-rpath $fullPath \
$out/opt/googleearth/googleearth-bin