summary refs log tree commit diff
path: root/maintainers
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2014-12-17 12:11:30 -0600
committerJohn Wiegley <johnw@newartisans.com>2014-12-26 11:06:21 -0600
commit28b6fb61e651a3e2cca57d087781e7ba6ab45e7c (patch)
tree1931763370f483739474ebe0ab219eb0d7256c13 /maintainers
parentce100a5d58799e65684ad948db70638c311369b3 (diff)
downloadnixpkgs-28b6fb61e651a3e2cca57d087781e7ba6ab45e7c.tar
nixpkgs-28b6fb61e651a3e2cca57d087781e7ba6ab45e7c.tar.gz
nixpkgs-28b6fb61e651a3e2cca57d087781e7ba6ab45e7c.tar.bz2
nixpkgs-28b6fb61e651a3e2cca57d087781e7ba6ab45e7c.tar.lz
nixpkgs-28b6fb61e651a3e2cca57d087781e7ba6ab45e7c.tar.xz
nixpkgs-28b6fb61e651a3e2cca57d087781e7ba6ab45e7c.tar.zst
nixpkgs-28b6fb61e651a3e2cca57d087781e7ba6ab45e7c.zip
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.
Diffstat (limited to 'maintainers')
-rwxr-xr-xmaintainers/scripts/patchelf-hints.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/maintainers/scripts/patchelf-hints.sh b/maintainers/scripts/patchelf-hints.sh
index 8de1d37c7f9..e6b3eeafafc 100755
--- a/maintainers/scripts/patchelf-hints.sh
+++ b/maintainers/scripts/patchelf-hints.sh
@@ -62,7 +62,7 @@ for bin in $(find $binaryDist -executable -type f) :; do
         )
 
         if test "$names" = "glibc"; then names="stdenv.glibc"; fi
-        if echo $names | grep -c "gcc" &> /dev/null; then names="stdenv.gcc.gcc"; fi
+        if echo $names | grep -c "gcc" &> /dev/null; then names="stdenv.cc.gcc"; fi
 
         if test $lib != $libPath; then
             interpreter="--interpreter \${$names}/lib/$lib"