about summary refs log tree commit diff
path: root/pkgs/build-support/cc-wrapper/default.nix
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2023-07-26 11:55:59 +0200
committerVladimír Čunát <v@cunat.cz>2023-07-26 11:55:59 +0200
commit88dec0c7a9846acecae9b27daf3b309c43cc0a09 (patch)
treed1cf16eb5f5a3fbea70aadeee25e7ec32abf56b0 /pkgs/build-support/cc-wrapper/default.nix
parentbbfd40bb37595f4f218fc8be6ad646373f6ef1bf (diff)
parentacb182363b506a3add9781711e2ecbeec3e5c3d3 (diff)
Merge #243595: cc-wrapper: -fwrapv instead of -fno-strict-overflow in clang
..into staging
Diffstat (limited to 'pkgs/build-support/cc-wrapper/default.nix')
-rw-r--r--pkgs/build-support/cc-wrapper/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/build-support/cc-wrapper/default.nix b/pkgs/build-support/cc-wrapper/default.nix
index 551074e0a2112..53141cac5dfbb 100644
--- a/pkgs/build-support/cc-wrapper/default.nix
+++ b/pkgs/build-support/cc-wrapper/default.nix
@@ -609,6 +609,8 @@ stdenv.mkDerivation {
 
 
   env = {
+    inherit isClang;
+
     # for substitution in utils.bash
     expandResponseParams = "${expand-response-params}/bin/expand-response-params";
     shell = getBin shell + shell.shellPath or "";