From 209984f1105882fb5f25732cf0c1d23064e81207 Mon Sep 17 00:00:00 2001 From: Fabrice de Gans Date: Thu, 5 Jun 2025 12:02:24 -0700 Subject: [PATCH] line-directive: Actually stop expanding response files The changes in #81996 fixed the response file format but failed to actually make `line-directive` stop expanding the response files in the compiler invocation. These changes fix that. --- utils/line-directive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/line-directive b/utils/line-directive index 406ebc89feb..5052c30b79c 100755 --- a/utils/line-directive +++ b/utils/line-directive @@ -682,7 +682,7 @@ def run(): # delegates to the Win32 CreateProcess API. Unix systems handle # non-normalized paths, so don't have this problem. # Arguments passed to the process are normalized by the process. - command_args = expand_response_files(sys.argv[dashes + 1:]) + command_args = sys.argv[dashes + 1:] command_args[0] = os.path.normpath(command_args[0]) try: