diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2007-05-16 15:15:46 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2007-05-16 15:15:46 +0000 |
commit | d3b29d16a001bc7c561f40738860a60605104489 (patch) | |
tree | 68f2e6f11c84510e3c1ae9cbff56a5cb9e2ec5dd /pkgs/build-support/gcc-wrapper | |
parent | 62b0dddf0e8b72a77e60c90b0d2791808c6b0df5 (diff) | |
download | nixlib-d3b29d16a001bc7c561f40738860a60605104489.tar nixlib-d3b29d16a001bc7c561f40738860a60605104489.tar.gz nixlib-d3b29d16a001bc7c561f40738860a60605104489.tar.bz2 nixlib-d3b29d16a001bc7c561f40738860a60605104489.tar.lz nixlib-d3b29d16a001bc7c561f40738860a60605104489.tar.xz nixlib-d3b29d16a001bc7c561f40738860a60605104489.tar.zst nixlib-d3b29d16a001bc7c561f40738860a60605104489.zip |
* wrapGCC: pass the right purity options for the platform.
svn path=/nixpkgs/trunk/; revision=8710
Diffstat (limited to 'pkgs/build-support/gcc-wrapper')
-rw-r--r-- | pkgs/build-support/gcc-wrapper/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/build-support/gcc-wrapper/default.nix b/pkgs/build-support/gcc-wrapper/default.nix index 24309c7ab879..b93747058309 100644 --- a/pkgs/build-support/gcc-wrapper/default.nix +++ b/pkgs/build-support/gcc-wrapper/default.nix @@ -20,12 +20,14 @@ stdenv.mkDerivation { ldWrapper = ./ld-wrapper.sh; utils = ./utils.sh; addFlags = ./add-flags; + inherit nativeTools nativeLibc nativePrefix gcc libc binutils; name = if name == "" then gcc.name else name; langC = if nativeTools then true else gcc.langC; langCC = if nativeTools then true else gcc.langCC; langF77 = if nativeTools then false else gcc.langF77; shell = if shell == "" then stdenv.shell else shell; + meta = if gcc != null && (gcc ? meta) then gcc.meta else { description = "System C compiler wrapper"; }; |