rename occurrences of cc.gcc to cc.cc

Changed files
+9 -9
maintainers
pkgs
build-support
build-fhs-chrootenv
development
+1 -1
maintainers/scripts/patchelf-hints.sh
···
)
if test "$names" = "glibc"; then names="stdenv.glibc"; fi
-
if echo $names | grep -c "gcc" &> /dev/null; then names="stdenv.cc.gcc"; fi
+
if echo $names | grep -c "gcc" &> /dev/null; then names="stdenv.cc.cc"; fi
if test $lib != $libPath; then
interpreter="--interpreter \${$names}/lib/$lib"
+2 -2
pkgs/build-support/build-fhs-chrootenv/default.nix
···
cp -rsf ${staticUsrProfileTarget}/lib64/* lib64/
# copy gcc libs (and may overwrite exitsting wrongly placed libs)
-
cp -rsf ${choosenGcc.gcc}/lib/* lib/
-
cp -rsf ${choosenGcc.gcc}/lib64/* lib64/
+
cp -rsf ${choosenGcc.cc}/lib/* lib/
+
cp -rsf ${choosenGcc.cc}/lib64/* lib64/
'';
in stdenv.mkDerivation {
+1 -1
pkgs/development/mobile/androidenv/androidsdk.nix
···
for i in emulator emulator-arm emulator-mips emulator-x86 mksdcard
do
patchelf --set-interpreter ${stdenv_32bit.cc.libc}/lib/ld-linux.so.2 $i
-
patchelf --set-rpath ${stdenv_32bit.cc.gcc}/lib $i
+
patchelf --set-rpath ${stdenv_32bit.cc.cc}/lib $i
done
${stdenv.lib.optionalString (stdenv.system == "x86_64-linux") ''
+4 -4
pkgs/development/mobile/androidenv/build-tools.nix
···
# These binaries need to find libstdc++ and libgcc_s
for i in aidl libLLVM.so
do
-
patchelf --set-rpath ${stdenv_32bit.cc.gcc}/lib $i
+
patchelf --set-rpath ${stdenv_32bit.cc.cc}/lib $i
done
# These binaries need to find libstdc++, libgcc_s and libraries in the current folder
for i in libbcc.so libbcinfo.so libclang.so llvm-rs-cc
do
-
patchelf --set-rpath ${stdenv_32bit.cc.gcc}/lib:`pwd` $i
+
patchelf --set-rpath ${stdenv_32bit.cc.cc}/lib:`pwd` $i
done
# These binaries also need zlib in addition to libstdc++
for i in zipalign
do
patchelf --set-interpreter ${stdenv_32bit.cc.libc}/lib/ld-linux.so.2 $i
-
patchelf --set-rpath ${stdenv_32bit.cc.gcc}/lib:${zlib_32bit}/lib $i
+
patchelf --set-rpath ${stdenv_32bit.cc.cc}/lib:${zlib_32bit}/lib $i
done
# These binaries need to find libstdc++, libgcc_s, and zlib
for i in aapt dexdump
do
-
patchelf --set-rpath ${stdenv_32bit.cc.gcc}/lib:${zlib_32bit}/lib $i
+
patchelf --set-rpath ${stdenv_32bit.cc.cc}/lib:${zlib_32bit}/lib $i
done
''}
+1 -1
pkgs/development/mobile/androidenv/platform-tools.nix
···
for i in adb fastboot
do
patchelf --set-interpreter ${stdenv_32bit.cc.libc}/lib/ld-linux.so.2 $i
-
patchelf --set-rpath ${stdenv_32bit.cc.gcc}/lib $i
+
patchelf --set-rpath ${stdenv_32bit.cc.cc}/lib $i
done
''}
'';