Merge pull request #112449 from angerman/angerman/response-files

Add response file support when compiling with clang
This commit is contained in:
John Ericson
2021-03-06 11:24:32 -05:00
committed by GitHub
3 changed files with 14 additions and 5 deletions
@@ -160,6 +160,7 @@ stdenv.mkDerivation {
local dst="$1"
local wrapper="$2"
export prog="$3"
export use_response_file_by_default=${if isClang then "1" else "0"}
substituteAll "$wrapper" "$out/bin/$dst"
chmod +x "$out/bin/$dst"
}