Remove support for -Xgcc-only= options.

PiperOrigin-RevId: 300384182
Change-Id: I078a3fd571f0dfc994cdfdc6a5e940a837f2d625
This commit is contained in:
A. Unique TensorFlower 2020-03-11 12:35:35 -07:00 committed by TensorFlower Gardener
parent 8446584495
commit f920c18c0e

View File

@ -74,13 +74,13 @@ toolchain {
compiler_flag: "-fstack-protector"
linker_flag: "-Wl,-z,relro,-z,now"
# TODO(b/151234342): Clean up the following options.
# This adds a little bit more durability to our Clang build.
#
# Folks who do maintenance work on TF Bazel Clang should consider
# commenting out these lines, while doing that work, to gain a better
# understanding of what the intersection of support looks like between GCC
# and Clang. Please note that, Bazel does not support
# -Xclang-only / -Xgcc-only.
# and Clang. Please note that Bazel does not support -Xclang-only.
compiler_flag: "-Wno-unknown-warning-option"
compiler_flag: "-Wno-unused-command-line-argument"
compiler_flag: "-Wno-ignored-optimization-argument"