aboutsummaryrefslogtreecommitdiff
path: root/compiler_wrapper/ccache_flag.go
diff options
context:
space:
mode:
authorManoj Gupta <manojgupta@google.com>2020-03-13 10:33:13 -0700
committerManoj Gupta <manojgupta@chromium.org>2020-03-13 21:57:47 +0000
commit99b3ff928b1c000980d331f30174614484095d37 (patch)
tree9dc95db6f7026a61d26f8e1c543550e5ebf0d38f /compiler_wrapper/ccache_flag.go
parentfbb16169c0cb546b48c849ec06853018a2cf1e22 (diff)
downloadtoolchain-utils-99b3ff928b1c000980d331f30174614484095d37.tar.gz
compiler_wrapper: Add "-fcommon" to clang invocations
Clang ToT has switched to "-fno-common" as default to match GCC 10 which breaks many packages. Upgrading to ToT versions of many packages does not fix the problem as packages upstream have not fixed them yet. Pass "-fcommon" in compiler wrapper to workaround this for now. This does not change the current clang behavior which defaults to "-fcommon" so this is a NFC. BUG=chromium:1060413 TEST=packages build with ToT clang; NFC for current clang Change-Id: I5a40e502db201615f45a7e4720105bebef2f2b0a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2102905 Reviewed-by: George Burgess <gbiv@chromium.org> Commit-Queue: Manoj Gupta <manojgupta@chromium.org> Tested-by: Manoj Gupta <manojgupta@chromium.org>
Diffstat (limited to 'compiler_wrapper/ccache_flag.go')
0 files changed, 0 insertions, 0 deletions