From ea4a522b15b2e1b22ad7b97c8b91f0791c426edc Mon Sep 17 00:00:00 2001 From: George Burgess IV Date: Tue, 10 May 2022 11:44:23 -0700 Subject: compiler_wrapper: factor clangPostFlags into a function; sort Since order doesn't matter, make this sorted. Otherwise, these are all shared, so no point in repeating them. BUG=b:232114933 TEST=go test Change-Id: Ide3c620de9018fed3fe8d898b21b3d5d4f42700f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/3639281 Reviewed-by: Jordan Abrahams-Whitehead Commit-Queue: George Burgess Tested-by: George Burgess --- .../testdata/cros_nonhardened_golden/bisect.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json') diff --git a/compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json b/compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json index 343a9506..86f73ed2 100644 --- a/compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json +++ b/compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json @@ -43,10 +43,10 @@ "--prefix=../../bin/x86_64-cros-linux-gnu-", "main.cc", "-L/usr/x86_64-cros-linux-gnu/usr/lib64", - "-Wno-implicit-int-float-conversion", "-Wno-compound-token-split-by-space", - "-Wno-string-concatenation", "-Wno-deprecated-copy", + "-Wno-implicit-int-float-conversion", + "-Wno-string-concatenation", "-mno-movbe", "-B../../bin", "-target", @@ -107,10 +107,10 @@ "--prefix=../../bin/x86_64-cros-linux-gnu-", "main.cc", "-L/usr/x86_64-cros-linux-gnu/usr/lib64", - "-Wno-implicit-int-float-conversion", "-Wno-compound-token-split-by-space", - "-Wno-string-concatenation", "-Wno-deprecated-copy", + "-Wno-implicit-int-float-conversion", + "-Wno-string-concatenation", "-mno-movbe", "-B../../bin", "-target", @@ -174,10 +174,10 @@ "--prefix=../../bin/x86_64-cros-linux-gnu-", "main.cc", "-L/usr/x86_64-cros-linux-gnu/usr/lib64", - "-Wno-implicit-int-float-conversion", "-Wno-compound-token-split-by-space", - "-Wno-string-concatenation", "-Wno-deprecated-copy", + "-Wno-implicit-int-float-conversion", + "-Wno-string-concatenation", "-mno-movbe", "-B../../bin", "-target", -- cgit v1.2.3