e02199
diff -up mozilla-release/js/src/configure.in.opt mozilla-release/js/src/configure.in
e02199
--- mozilla-release/js/src/configure.in.opt	2015-05-04 02:43:23.000000000 +0200
e02199
+++ mozilla-release/js/src/configure.in	2015-05-07 14:21:07.685405039 +0200
e02199
@@ -1492,7 +1492,7 @@ case "$host" in
e02199
 *-linux*|*-kfreebsd*-gnu|*-gnu*)
e02199
     HOST_CFLAGS="$HOST_CFLAGS -DXP_UNIX"
e02199
     HOST_NSPR_MDCPUCFG='\"md/_linux.cfg\"'
e02199
-    HOST_OPTIMIZE_FLAGS="${HOST_OPTIMIZE_FLAGS=-O3}"
e02199
+    HOST_OPTIMIZE_FLAGS="${HOST_OPTIMIZE_FLAGS=-O1}"
e02199
     ;;
e02199
 
e02199
 *)
e02199
@@ -1674,8 +1674,8 @@ ia64*-hpux*)
e02199
         # while; Intel recommends against using it.
e02199
         MOZ_OPTIMIZE_FLAGS="-O2"
e02199
     elif test "$GNU_CC" -o "$GNU_CXX"; then
e02199
-        MOZ_PGO_OPTIMIZE_FLAGS="-O3"
e02199
-        MOZ_OPTIMIZE_FLAGS="-O3"
e02199
+        MOZ_PGO_OPTIMIZE_FLAGS="-O1"
e02199
+        MOZ_OPTIMIZE_FLAGS="-O1"
e02199
         if test -z "$CLANG_CC"; then
e02199
            MOZ_OPTIMIZE_FLAGS="-freorder-blocks $MOZ_OPTIMIZE_FLAGS"
e02199
         fi