1
Description: work around clang hanging forever when trying to optimize the sqlite3 build
2
Author: Olivier Tilloy <olivier.tilloy@canonical.com>
3
Bug-Ubuntu: https://launchpad.net/bugs/1878292
5
--- a/third_party/sqlite3/src/moz.build
6
+++ b/third_party/sqlite3/src/moz.build
7
@@ -98,3 +98,8 @@ if CONFIG['CC_TYPE'] in ('clang', 'gcc')
12
+# Work around clang hanging forever when trying to optimize the sqlite3 build
13
+# with the default "-O2" parameter. See https://launchpad.net/bugs/1878292.
14
+if CONFIG['CC_TYPE'] == 'clang' and CONFIG['CPU_ARCH'] == 's390x':