diff options
author | Yi Kong <yikong@google.com> | 2021-09-10 15:05:22 +0800 |
---|---|---|
committer | Yi Kong <yikong@google.com> | 2021-09-10 15:05:22 +0800 |
commit | 0c0aab381e467cfdd063f5e1034a33b8fd6728fd (patch) | |
tree | c4bf9f3bdd4fa79058773c22bb9b726357a6aae1 | |
parent | 2955e260b523ee526dfb730f645cbf551e9e71eb (diff) | |
download | pdfium-0c0aab381e467cfdd063f5e1034a33b8fd6728fd.tar.gz |
Use -O2 temporarily because of compiler crash
When building the fuzzer for this component (using the legacy pass
manager of LLVM), the compiler crashes when trying to generate code.
Temporarily switch to using just -O2 to work around the crash.
Bug: http://b/199471467
Test: m checkbuild for aosp_x86-eng
Change-Id: I2c7740777a12dbfb6cd84560b44113c2d491b7f1
-rw-r--r-- | third_party/Android.bp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/third_party/Android.bp b/third_party/Android.bp index 6571fb1bd..64c6f0044 100644 --- a/third_party/Android.bp +++ b/third_party/Android.bp @@ -57,6 +57,9 @@ cc_library_static { "base/debug/*.cc", "base/allocator/partition_allocator/*.cc", ], + + // http://b/199471467 Crashes compiler with -O3 when building fuzzer + cflags: ["-O2"], } cc_library_static { |