diff options
author | Michal Klocek <michal.klocek@qt.io> | 2017-01-31 17:21:13 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-07-03 14:34:07 +0200 |
commit | 01d0a78c93cc4b07ec5986476ef5a5af0196a5f4 (patch) | |
tree | a6704288782a5a4bf6e581a67c9651d33fb534bd | |
parent | cd77fae62cfa62092c9e0a344e64cd0c240e9b8c (diff) | |
download | qtwebengine-chromium-01d0a78c93cc4b07ec5986476ef5a5af0196a5f4.tar.gz |
Remove linking with libatomic
Rhel machines on ci do not have it.
Change-Id: I4cbb6d9d0826a23f8065a9eebba7ba27856e44d4
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r-- | chromium/base/BUILD.gn | 2 | ||||
-rw-r--r-- | chromium/build/config/linux/BUILD.gn | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chromium/base/BUILD.gn b/chromium/base/BUILD.gn index 7bc40d84e69..a7df46a8a1a 100644 --- a/chromium/base/BUILD.gn +++ b/chromium/base/BUILD.gn @@ -1234,7 +1234,7 @@ jumbo_component("base") { # Needed for <atomic> if using newer C++ library than sysroot, except if # building inside the cros_sdk environment - use host_toolchain as a # more robust check for this. - if (!use_sysroot && (is_android || (is_linux && !is_chromecast)) && + if (!use_sysroot && (is_android || (is_linux && !is_chromecast && !use_qt)) && host_toolchain != "//build/toolchain/cros:host") { libs += [ "atomic" ] } diff --git a/chromium/build/config/linux/BUILD.gn b/chromium/build/config/linux/BUILD.gn index 6ca9b6a9348..bdef669a006 100644 --- a/chromium/build/config/linux/BUILD.gn +++ b/chromium/build/config/linux/BUILD.gn @@ -28,7 +28,7 @@ config("runtime_library") { } if ((!is_chromeos || default_toolchain != "//build/toolchain/cros:target") && - (!use_custom_libcxx || current_cpu == "mipsel")) { + (!use_custom_libcxx || current_cpu == "mipsel") && !use_qt) { libs = [ "atomic" ] } } |