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