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:
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
||||
ln -s ${libusb1}/lib/libusb-1.0.so.0 ./x10flasher_lib/linux/lib32/libusbx-1.0.so
|
||||
|
||||
chmod +x x10flasher_lib/unyaffs.linux.x86 x10flasher_lib/bin2elf x10flasher_lib/bin2sin
|
||||
patchelf --set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" x10flasher_lib/unyaffs.linux.x86
|
||||
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" x10flasher_lib/unyaffs.linux.x86
|
||||
ln -sf unyaffs.linux.x86 x10flasher_lib/unyaffs.linux
|
||||
|
||||
ln -s swt32.jar x10flasher_lib/swtlin/swt.jar
|
||||
|
||||
Reference in New Issue
Block a user