summaryrefslogtreecommitdiff
path: root/waterfox/rhbz-1219542-s390-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'waterfox/rhbz-1219542-s390-build.patch')
-rw-r--r--waterfox/rhbz-1219542-s390-build.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/waterfox/rhbz-1219542-s390-build.patch b/waterfox/rhbz-1219542-s390-build.patch
new file mode 100644
index 0000000..f94e43a
--- /dev/null
+++ b/waterfox/rhbz-1219542-s390-build.patch
@@ -0,0 +1,23 @@
+diff -up firefox-55.0/js/src/old-configure.in.rhbz-1219542-s390 firefox-55.0/js/src/old-configure.in
+--- firefox-55.0/js/src/old-configure.in.rhbz-1219542-s390 2017-07-31 18:20:48.000000000 +0200
++++ firefox-55.0/js/src/old-configure.in 2017-08-02 14:31:32.190243669 +0200
+@@ -541,7 +541,7 @@ case "$host" in
+
+ *-linux*|*-kfreebsd*-gnu|*-gnu*)
+ HOST_CFLAGS="$HOST_CFLAGS -DXP_UNIX"
+- HOST_OPTIMIZE_FLAGS="${HOST_OPTIMIZE_FLAGS=-O3}"
++ HOST_OPTIMIZE_FLAGS="${HOST_OPTIMIZE_FLAGS=-O1}"
+ ;;
+
+ *)
+@@ -617,8 +617,8 @@ case "$target" in
+
+ *-*linux*)
+ if test "$GNU_CC" -o "$GNU_CXX"; then
+- MOZ_PGO_OPTIMIZE_FLAGS="-O3"
+- MOZ_OPTIMIZE_FLAGS="-O3"
++ MOZ_PGO_OPTIMIZE_FLAGS="-O1"
++ MOZ_OPTIMIZE_FLAGS="-O1"
+ if test -z "$CLANG_CC"; then
+ MOZ_OPTIMIZE_FLAGS="-freorder-blocks $MOZ_OPTIMIZE_FLAGS"
+ fi
bgstack15