summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-03-18 15:29:19 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-03-25 13:00:17 +0000
commit6efbb38299abb2a28e4a033f3f440b7cd353bd91 (patch)
treebb32da816895c21072854bf00934e07258f0aa60
parent9424dc7ceeccf6e6d5edc7757edb39a7ae4983ab (diff)
downloadqtwebengine-chromium-6efbb38299abb2a28e4a033f3f440b7cd353bd91.tar.gz
FIXUP: Support linux-clang-libc++ builds
This flag makes clang fail to find libc++ includes. Change-Id: Ie039669b738ae33dc1bd2e8676f7bf2bde4c8ef2 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
-rw-r--r--chromium/build/config/compiler/BUILD.gn2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/build/config/compiler/BUILD.gn b/chromium/build/config/compiler/BUILD.gn
index ab47e2b98f8..54710ed8a8e 100644
--- a/chromium/build/config/compiler/BUILD.gn
+++ b/chromium/build/config/compiler/BUILD.gn
@@ -1164,7 +1164,7 @@ config("compiler_deterministic") {
# Tells the compiler not to use absolute paths when passing the default
# paths to the tools it invokes. We don't want this because we don't
# really need it and it can mess up the goma cache entries.
- if (is_clang && !is_nacl) {
+ if (is_clang && !is_nacl && !(use_qt && use_libcxx)) {
cflags += [ "-no-canonical-prefixes" ]
}
}