commit | 99b3ff928b1c000980d331f30174614484095d37 | [log] [tgz] |
---|---|---|
author | Manoj Gupta <manojgupta@google.com> | Fri Mar 13 10:33:13 2020 -0700 |
committer | Manoj Gupta <manojgupta@chromium.org> | Fri Mar 13 21:57:47 2020 +0000 |
tree | 9dc95db6f7026a61d26f8e1c543550e5ebf0d38f | |
parent | fbb16169c0cb546b48c849ec06853018a2cf1e22 [diff] |
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>
toolchain-utils
Various utilities used by the Chrome OS toolchain team.
To run Python scripts in this directory, first run:
export PYTHONPATH=$(readlink -f .):$PYTHONPATH
from this directory.
Then you can run any script.
To get help on any script, type in python <script> --help
, or refer to the header of the script for more information.