summary refs log tree commit diff
path: root/pkgs/build-support/cc-wrapper
diff options
context:
space:
mode:
authorBenjamin Saunders <benjamin.saunders@here.com>2018-05-07 13:22:50 -0700
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-05-24 02:57:44 -0400
commit46eeef1898ffbf57330ec31b96a6c2d89f8fcb36 (patch)
tree1ff7be30a066e05a6ae78b8fd315a8f60e2d0c58 /pkgs/build-support/cc-wrapper
parent16da44b5c115fe58048d7ba8aa597ed1598ea090 (diff)
downloadnixlib-46eeef1898ffbf57330ec31b96a6c2d89f8fcb36.tar
nixlib-46eeef1898ffbf57330ec31b96a6c2d89f8fcb36.tar.gz
nixlib-46eeef1898ffbf57330ec31b96a6c2d89f8fcb36.tar.bz2
nixlib-46eeef1898ffbf57330ec31b96a6c2d89f8fcb36.tar.lz
nixlib-46eeef1898ffbf57330ec31b96a6c2d89f8fcb36.tar.xz
nixlib-46eeef1898ffbf57330ec31b96a6c2d89f8fcb36.tar.zst
nixlib-46eeef1898ffbf57330ec31b96a6c2d89f8fcb36.zip
tests.cc-wrapper: verify building with sanitizers
Diffstat (limited to 'pkgs/build-support/cc-wrapper')
-rw-r--r--pkgs/build-support/cc-wrapper/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/build-support/cc-wrapper/default.nix b/pkgs/build-support/cc-wrapper/default.nix
index 43cd87fb4597..8f99da805ec1 100644
--- a/pkgs/build-support/cc-wrapper/default.nix
+++ b/pkgs/build-support/cc-wrapper/default.nix
@@ -9,7 +9,7 @@
 , stdenvNoCC, nativeTools, propagateDoc ? !nativeTools, noLibc ? false, nativeLibc, nativePrefix ? ""
 , cc ? null, libc ? null, bintools, coreutils ? null, shell ? stdenvNoCC.shell
 , extraPackages ? [], extraBuildCommands ? ""
-, isGNU ? false, isClang ? cc.isClang or false, gnugrep ? null
+, isGNU ? false, isClang ? cc.isClang or false, isCompilerRT ? false, gnugrep ? null
 , buildPackages ? {}
 }:
 
@@ -90,7 +90,7 @@ stdenv.mkDerivation {
     # Binutils, and Apple's "cctools"; "bintools" as an attempt to find an
     # unused middle-ground name that evokes both.
     inherit bintools;
-    inherit libc nativeTools nativeLibc nativePrefix isGNU isClang default_cxx_stdlib_compile;
+    inherit libc nativeTools nativeLibc nativePrefix isGNU isClang isCompilerRT default_cxx_stdlib_compile;
 
     emacsBufferSetup = pkgs: ''
       ; We should handle propagation here too