From 28b6fb61e651a3e2cca57d087781e7ba6ab45e7c Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 17 Dec 2014 12:11:30 -0600 Subject: 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. --- maintainers/scripts/patchelf-hints.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'maintainers/scripts/patchelf-hints.sh') diff --git a/maintainers/scripts/patchelf-hints.sh b/maintainers/scripts/patchelf-hints.sh index 8de1d37c7f93..e6b3eeafafc6 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" -- cgit v1.2.3