diff options
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct index 9334514bc88..580fd37f93d 100644 --- a/SConstruct +++ b/SConstruct @@ -3935,8 +3935,9 @@ if get_option('ninja') != 'disabled': env.NinjaRule( rule="TEST_LIST", description="Compiling test list: $out", - command="{}echo '$files' > '$out'".format( - "cmd.exe /c " if env["PLATFORM"] == "win32" else "", + command="{prefix}echo {flags} '$files' > '$out'".format( + prefix="cmd.exe /c " if env["PLATFORM"] == "win32" else "", + flags="-n" if env["PLATFORM"] != "win32" else "", ), ) env.NinjaRegisterFunctionHandler("test_list_builder_action", ninja_test_list_builder) |