gcc: Don't let solaris hack pollute CC elsehwere

wip/yesman
John Ericson 7 years ago
parent 0f5c804631
commit 4ad9a97e96
  1. 2
      pkgs/development/compilers/gcc/4.8/default.nix
  2. 2
      pkgs/development/compilers/gcc/4.9/default.nix
  3. 2
      pkgs/development/compilers/gcc/5/default.nix
  4. 2
      pkgs/development/compilers/gcc/6/default.nix
  5. 2
      pkgs/development/compilers/gcc/7/default.nix
  6. 2
      pkgs/development/compilers/gcc/snapshot/default.nix

@ -399,7 +399,7 @@ stdenv.mkDerivation ({
};
# http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
CC = if hostPlatform.system == "x86_64-solaris" then "gcc -m64" else "gcc";
${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
# Setting $CPATH and $LIBRARY_PATH to make sure both `gcc' and `xgcc' find the
# library headers and binaries, regarless of the language being compiled.

@ -407,7 +407,7 @@ stdenv.mkDerivation ({
};
# http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
CC = if hostPlatform.system == "x86_64-solaris" then "gcc -m64" else "gcc";
${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
# Setting $CPATH and $LIBRARY_PATH to make sure both `gcc' and `xgcc' find the
# library headers and binaries, regarless of the language being compiled.

@ -412,7 +412,7 @@ stdenv.mkDerivation ({
};
# http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
CC = if hostPlatform.system == "x86_64-solaris" then "gcc -m64" else "gcc";
${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
# Setting $CPATH and $LIBRARY_PATH to make sure both `gcc' and `xgcc' find the
# library headers and binaries, regarless of the language being compiled.

@ -414,7 +414,7 @@ stdenv.mkDerivation ({
};
# http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
CC = if hostPlatform.system == "x86_64-solaris" then "gcc -m64" else "gcc";
${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
# Setting $CPATH and $LIBRARY_PATH to make sure both `gcc' and `xgcc' find the
# library headers and binaries, regarless of the language being compiled.

@ -408,7 +408,7 @@ stdenv.mkDerivation ({
};
# http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
CC = if hostPlatform.system == "x86_64-solaris" then "gcc -m64" else "gcc";
${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
# Setting $CPATH and $LIBRARY_PATH to make sure both `gcc' and `xgcc' find the
# library headers and binaries, regarless of the language being compiled.

@ -395,7 +395,7 @@ stdenv.mkDerivation ({
};
# http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
CC = if hostPlatform.system == "x86_64-solaris" then "gcc -m64" else "gcc";
${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
# Setting $CPATH and $LIBRARY_PATH to make sure both `gcc' and `xgcc' find the
# library headers and binaries, regarless of the language being compiled.

Loading…
Cancel
Save