d2e479
diff -up firefox-55.0/js/src/old-configure.in.rhbz-1219542-s390 firefox-55.0/js/src/old-configure.in
d2e479
--- firefox-55.0/js/src/old-configure.in.rhbz-1219542-s390	2017-07-31 18:20:48.000000000 +0200
d2e479
+++ firefox-55.0/js/src/old-configure.in	2017-08-02 14:31:32.190243669 +0200
d2e479
@@ -541,7 +541,7 @@ case "$host" in
d2e479
 
d2e479
 *-linux*|*-kfreebsd*-gnu|*-gnu*)
d2e479
     HOST_CFLAGS="$HOST_CFLAGS -DXP_UNIX"
d2e479
-    HOST_OPTIMIZE_FLAGS="${HOST_OPTIMIZE_FLAGS=-O3}"
d2e479
+    HOST_OPTIMIZE_FLAGS="${HOST_OPTIMIZE_FLAGS=-O1}"
d2e479
     ;;
d2e479
 
d2e479
 *)
d2e479
@@ -617,8 +617,8 @@ case "$target" in
d2e479
 
d2e479
 *-*linux*)
d2e479
     if test "$GNU_CC" -o "$GNU_CXX"; then
d2e479
-        MOZ_PGO_OPTIMIZE_FLAGS="-O3"
d2e479
-        MOZ_OPTIMIZE_FLAGS="-O3"
d2e479
+        MOZ_PGO_OPTIMIZE_FLAGS="-O1"
d2e479
+        MOZ_OPTIMIZE_FLAGS="-O1"
d2e479
         if test -z "$CLANG_CC"; then
d2e479
            MOZ_OPTIMIZE_FLAGS="-freorder-blocks $MOZ_OPTIMIZE_FLAGS"
d2e479
         fi