git.iko.soy/typeable/nixpkgs
on master help sign in
More gcc->cc refs
commit7e0a5c38f3564a07134d60182446fbfc0e0a257f authorShea Levy <shea@shealevy.com> dateFri 26 Dec 2014, 12:33 (12 years ago) parent05edd65
4 files changed+11−11
pkgs/development/mobile/androidenv/androidsdk.nix+2−2 pkgs/development/mobile/androidenv/build-tools.nix+6−6 pkgs/development/mobile/androidenv/platform-tools.nix+2−2 pkgs/top-level/all-packages.nix+1−1
pkgs/development/mobile/androidenv/androidsdk.nix+2−2
@@ -34,8 +34,8 @@ stdenv.mkDerivation rec {
3434
3535 for i in emulator emulator-arm emulator-mips emulator-x86 mksdcard
3636 do
37− patchelf --set-interpreter ${stdenv_32bit.gcc.libc}/lib/ld-linux.so.2 $i
38− patchelf --set-rpath ${stdenv_32bit.gcc.gcc}/lib $i
37+ patchelf --set-interpreter ${stdenv_32bit.cc.libc}/lib/ld-linux.so.2 $i
38+ patchelf --set-rpath ${stdenv_32bit.cc.gcc}/lib $i
3939 done
4040
4141 ${stdenv.lib.optionalString (stdenv.system == "x86_64-linux") ''
pkgs/development/mobile/androidenv/build-tools.nix+6−6
@@ -25,32 +25,32 @@ stdenv.mkDerivation {
2525 # Patch the interpreter
2626 for i in aapt aidl dexdump llvm-rs-cc
2727 do
28− patchelf --set-interpreter ${stdenv_32bit.gcc.libc}/lib/ld-linux.so.2 $i
28+ patchelf --set-interpreter ${stdenv_32bit.cc.libc}/lib/ld-linux.so.2 $i
2929 done
3030
3131 # These binaries need to find libstdc++ and libgcc_s
3232 for i in aidl libLLVM.so
3333 do
34− patchelf --set-rpath ${stdenv_32bit.gcc.gcc}/lib $i
34+ patchelf --set-rpath ${stdenv_32bit.cc.gcc}/lib $i
3535 done
3636
3737 # These binaries need to find libstdc++, libgcc_s and libraries in the current folder
3838 for i in libbcc.so libbcinfo.so libclang.so llvm-rs-cc
3939 do
40− patchelf --set-rpath ${stdenv_32bit.gcc.gcc}/lib:`pwd` $i
40+ patchelf --set-rpath ${stdenv_32bit.cc.gcc}/lib:`pwd` $i
4141 done
4242
4343 # These binaries also need zlib in addition to libstdc++
4444 for i in zipalign
4545 do
46− patchelf --set-interpreter ${stdenv_32bit.gcc.libc}/lib/ld-linux.so.2 $i
47− patchelf --set-rpath ${stdenv_32bit.gcc.gcc}/lib:${zlib_32bit}/lib $i
46+ patchelf --set-interpreter ${stdenv_32bit.cc.libc}/lib/ld-linux.so.2 $i
47+ patchelf --set-rpath ${stdenv_32bit.cc.gcc}/lib:${zlib_32bit}/lib $i
4848 done
4949
5050 # These binaries need to find libstdc++, libgcc_s, and zlib
5151 for i in aapt dexdump
5252 do
53− patchelf --set-rpath ${stdenv_32bit.gcc.gcc}/lib:${zlib_32bit}/lib $i
53+ patchelf --set-rpath ${stdenv_32bit.cc.gcc}/lib:${zlib_32bit}/lib $i
5454 done
5555 ''}
5656
pkgs/development/mobile/androidenv/platform-tools.nix+2−2
@@ -28,8 +28,8 @@ stdenv.mkDerivation {
2828 ''
2929 for i in adb fastboot
3030 do
31− patchelf --set-interpreter ${stdenv_32bit.gcc.libc}/lib/ld-linux.so.2 $i
32− patchelf --set-rpath ${stdenv_32bit.gcc.gcc}/lib $i
31+ patchelf --set-interpreter ${stdenv_32bit.cc.libc}/lib/ld-linux.so.2 $i
32+ patchelf --set-rpath ${stdenv_32bit.cc.gcc}/lib $i
3333 done
3434 ''}
3535 '';
pkgs/top-level/all-packages.nix+1−1
@@ -5987,7 +5987,7 @@ let
59875987 # The logic behind this attribute is broken: libiconvOrNull==null does
59885988 # NOT imply libiconv=glibc! On Darwin, for example, we have a native
59895989 # libiconv library which is not glibc.
5990− libiconvOrLibc = if libiconvOrNull == null then gcc.libc else libiconv;
5990+ libiconvOrLibc = if libiconvOrNull == null then stdenv.cc.libc else libiconv;
59915991
59925992 # On non-GNU systems we need GNU Gettext for libintl.
59935993 libintlOrEmpty = stdenv.lib.optional (!stdenv.isLinux) gettext;