summaryrefslogtreecommitdiff
path: root/chromium/third_party/expat
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2017-09-18 14:34:04 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-10-04 11:15:27 +0000
commite6430e577f105ad8813c92e75c54660c4985026e (patch)
tree88115e5d1fb471fea807111924dcccbeadbf9e4f /chromium/third_party/expat
parent53d399fe6415a96ea6986ec0d402a9c07da72453 (diff)
downloadqtwebengine-chromium-e6430e577f105ad8813c92e75c54660c4985026e.tar.gz
BASELINE: Update Chromium to 61.0.3163.99
Change-Id: I8452f34574d88ca2b27af9bd56fc9ff3f16b1367 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'chromium/third_party/expat')
-rw-r--r--chromium/third_party/expat/BUILD.gn5
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/third_party/expat/BUILD.gn b/chromium/third_party/expat/BUILD.gn
index a2c2d0c637c..1ae296d6600 100644
--- a/chromium/third_party/expat/BUILD.gn
+++ b/chromium/third_party/expat/BUILD.gn
@@ -33,6 +33,11 @@ if (is_linux && !is_chromecast && !use_libfuzzer && !use_afl) {
public_configs = [ ":expat_config" ]
+ # TODO(thakis): Remove this once clang no longer crashes when building
+ # libexpat with -Oz.
+ configs -= [ "//build/config/compiler:default_optimization" ]
+ configs += [ "//build/config/compiler:optimize_max" ]
+
defines = [ "_LIB" ]
if (is_win) {
defines += [ "COMPILED_FROM_DSP" ]