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:
@@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
|
||||
\( -name '*.sh' \
|
||||
-o -path "$basedir/bin/*" \
|
||||
\) -print -exec "${patchelf}/bin/patchelf" \
|
||||
--interpreter "$(cat "$NIX_GCC/nix-support/dynamic-linker")" \
|
||||
--interpreter "$(cat "$NIX_CC/nix-support/dynamic-linker")" \
|
||||
--set-rpath "${libs}:$out/libexec/oracle/lib" \
|
||||
--force-rpath '{}' \;
|
||||
'';
|
||||
|
||||
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ libxml2 openssl readline gawk ];
|
||||
|
||||
CPP = "${stdenv.gcc}/bin/gcc -E";
|
||||
CPP = "${stdenv.cc}/bin/gcc -E";
|
||||
|
||||
configureFlags = "
|
||||
--enable-shared --disable-all-vads --with-readline=${readline}
|
||||
|
||||
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ libxml2 openssl readline gawk ];
|
||||
|
||||
CPP = "${stdenv.gcc}/bin/gcc -E";
|
||||
CPP = "${stdenv.cc}/bin/gcc -E";
|
||||
|
||||
configureFlags = "
|
||||
--enable-shared --disable-all-vads --with-readline=${readline}
|
||||
|
||||
Reference in New Issue
Block a user