Skip to content

Commit

Permalink
tests.cc-wrapper: Add NIX_CC_USE_RESPONSE_FILE check
Browse files Browse the repository at this point in the history
  • Loading branch information
Artturin committed Oct 18, 2024
1 parent 157a10e commit 76b708a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/test/cc-wrapper/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ in stdenv.mkDerivation {
ASAN_OPTIONS=use_sigaltstack=0 ${emulator} ./sanitizers
''}
echo "Check whether CC with NIX_CC_USE_RESPONSE_FILE hardcodes all required binaries..." >&2
NIX_CC_USE_RESPONSE_FILE=1 ${CC} -v
${touch} $out
'';

Expand Down

0 comments on commit 76b708a

Please sign in to comment.