diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-03-15 19:35:07 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-03-24 20:16:17 +0300 |
commit | 0c6db0ca48612f18e5c2b744dfa385ba8eecc950 (patch) | |
tree | b09a03993f3aabe6d2f6635e345eb3ee044f7f47 /pkgs/stdenv/native | |
parent | 89693e71b9c89b348ef2173180c4965c0e7d8357 (diff) | |
download | nixpkgs-0c6db0ca48612f18e5c2b744dfa385ba8eecc950.tar nixpkgs-0c6db0ca48612f18e5c2b744dfa385ba8eecc950.tar.gz nixpkgs-0c6db0ca48612f18e5c2b744dfa385ba8eecc950.tar.bz2 nixpkgs-0c6db0ca48612f18e5c2b744dfa385ba8eecc950.tar.lz nixpkgs-0c6db0ca48612f18e5c2b744dfa385ba8eecc950.tar.xz nixpkgs-0c6db0ca48612f18e5c2b744dfa385ba8eecc950.tar.zst nixpkgs-0c6db0ca48612f18e5c2b744dfa385ba8eecc950.zip |
cc-wrapper: add option to skip flags for native optimizations
Diffstat (limited to 'pkgs/stdenv/native')
-rw-r--r-- | pkgs/stdenv/native/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/stdenv/native/default.nix b/pkgs/stdenv/native/default.nix index bd90d580d3f..291ef5a5079 100644 --- a/pkgs/stdenv/native/default.nix +++ b/pkgs/stdenv/native/default.nix @@ -16,6 +16,7 @@ rec { # Disable purity tests; it's allowed (even needed) to link to # libraries outside the Nix store (like the C library). export NIX_ENFORCE_PURITY= + export NIX_ENFORCE_NO_NATIVE="''${NIX_ENFORCE_NO_NATIVE-1}" ''; prehookFreeBSD = '' |