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