diff --git a/configure.in b/configure.in index b617a522992..48f6da283c9 100644 --- a/configure.in +++ b/configure.in @@ -2188,9 +2188,9 @@ ia64*-hpux*) esac # If we're building with --enable-profiling, we need a frame pointer. if test -z "$MOZ_PROFILING"; then - MOZ_OPTIMIZE_FLAGS="-Os -freorder-blocks -fomit-frame-pointer $MOZ_OPTIMIZE_SIZE_TWEAK" + MOZ_OPTIMIZE_FLAGS="-O3 -fomit-frame-pointer" else - MOZ_OPTIMIZE_FLAGS="-Os -freorder-blocks -fno-omit-frame-pointer $MOZ_OPTIMIZE_SIZE_TWEAK" + MOZ_OPTIMIZE_FLAGS="-O3 -fno-omit-frame-pointer" fi MOZ_DEBUG_FLAGS="-g" fi diff --git a/js/src/configure.in b/js/src/configure.in index ab2046bee47..fb32aa30859 100644 --- a/js/src/configure.in +++ b/js/src/configure.in @@ -2107,9 +2107,9 @@ ia64*-hpux*) esac # If we're building with --enable-profiling, we need a frame pointer. if test -z "$MOZ_PROFILING"; then - MOZ_OPTIMIZE_FLAGS="-Os -freorder-blocks -fomit-frame-pointer $MOZ_OPTIMIZE_SIZE_TWEAK" + MOZ_OPTIMIZE_FLAGS="-O3 -fomit-frame-pointer" else - MOZ_OPTIMIZE_FLAGS="-Os -freorder-blocks -fno-omit-frame-pointer $MOZ_OPTIMIZE_SIZE_TWEAK" + MOZ_OPTIMIZE_FLAGS="-O3 -fno-omit-frame-pointer" fi MOZ_DEBUG_FLAGS="-g" fi diff --git a/xpcom/io/Makefile.in b/xpcom/io/Makefile.in index 61cd64aba28..a9036fa164d 100644 --- a/xpcom/io/Makefile.in +++ b/xpcom/io/Makefile.in @@ -51,7 +51,7 @@ MOZILLA_INTERNAL_API = 1 # work around bug 408258 ifdef GNU_CC ifneq ($(OS_ARCH), Darwin) -MODULE_OPTIMIZE_FLAGS = -Os -fno-strict-aliasing $(MOZ_OPTIMIZE_SIZE_TWEAK) +MODULE_OPTIMIZE_FLAGS = -O3 -fno-strict-aliasing endif endif