-O2 draft
authorChris Peterson <cpeterson@mozilla.com>
Wed, 14 Nov 2018 23:32:52 -0800
changeset 1760448 3b5dc67fbf22c7e16a851f510b7c279b518dfe72
parent 1760446 451fbb51f721f64608ec1d25a5b67dd7ec8b5902
child 1760449 55e8183e3f21456b39fc9baa64d07d2e0432f91c
push id315265
push usercpeterson@mozilla.com
push dateThu, 15 Nov 2018 07:33:18 +0000
treeherdertry@55e8183e3f21 [default view] [failures only]
milestone65.0a1
-O2
old-configure.in
--- a/old-configure.in
+++ b/old-configure.in
@@ -768,17 +768,17 @@ case "$target" in
     fi
 
     MOZ_GFX_OPTIMIZE_MOBILE=1
     if test -z "$CLANG_CC"; then
         MOZ_OPTIMIZE_FLAGS="-freorder-blocks -fno-reorder-functions -Os"
     else
         # From https://github.com/android-ndk/ndk/issues/133#issuecomment-308549264
         # -Oz is smaller than -Os on clang.
-        MOZ_OPTIMIZE_FLAGS="-O2 -fmerge-all-constants"
+        MOZ_OPTIMIZE_FLAGS="-O2"
     fi
     ;;
 
 *-*linux*)
     if test "$GNU_CC" -o "$GNU_CXX"; then
         MOZ_PGO_OPTIMIZE_FLAGS="-O3"
         if test -n "$MOZ_DEBUG"; then
             MOZ_OPTIMIZE_FLAGS="-Os"