diff options
author | Ryan Beltran <ryanbeltran@chromium.org> | 2021-09-08 21:50:32 +0000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-09 16:35:52 +0000 |
commit | db0105711017a9d38469aaf0df8b9342ae156bfe (patch) | |
tree | bcc1e6bdc698e4c0dd250cccfd79282b10af4c31 /compiler_wrapper | |
parent | 3bc3b1d7b6800dd99b7c9306f5ba97c04fb5cbf7 (diff) | |
download | toolchain-utils-db0105711017a9d38469aaf0df8b9342ae156bfe.tar.gz |
compiler_wrapper: disable unused-but-set warnings
This CL disables no-unused-but-set-variable warnings globally in the
compiler wrapper. A seperate CL will specifically reenable this warning
for platform2. This prevents breakage do to unised variables in
third_party.
BUG=None
TEST=None
Change-Id: I2ea44b6249715d3b036843b13d668d50b9b7669d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/3150656
Tested-by: Ryan Beltran <ryanbeltran@chromium.org>
Auto-Submit: Ryan Beltran <ryanbeltran@chromium.org>
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Commit-Queue: Manoj Gupta <manojgupta@chromium.org>
Diffstat (limited to 'compiler_wrapper')
-rw-r--r-- | compiler_wrapper/cros_llvm_next_flags.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler_wrapper/cros_llvm_next_flags.go b/compiler_wrapper/cros_llvm_next_flags.go index 0c8dc671..d2ae413b 100644 --- a/compiler_wrapper/cros_llvm_next_flags.go +++ b/compiler_wrapper/cros_llvm_next_flags.go @@ -14,7 +14,7 @@ package main // TODO: Enable test in config_test.go, once we have new llvm-next flags. var llvmNextFlags = []string{ - "-Wl,-z,nostart-stop-gc", + "-Wno-unused-but-set-variable", } var llvmNextPostFlags = []string{} |