From c8f78b1ecf35ec490fdcbfdb13bef3c225e17811 Mon Sep 17 00:00:00 2001 From: trav90 Date: Tue, 17 Apr 2018 22:54:30 -0500 Subject: Set default MOZ_OPTIMIZE_FLAGS to -O2 when using GCC --- old-configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'old-configure.in') diff --git a/old-configure.in b/old-configure.in index 6e2d743d6..9d57839e3 100644 --- a/old-configure.in +++ b/old-configure.in @@ -936,7 +936,7 @@ case "$target" in fi MOZ_GFX_OPTIMIZE_MOBILE=1 - MOZ_OPTIMIZE_FLAGS="-Os" + MOZ_OPTIMIZE_FLAGS="-O2" if test -z "$CLANG_CC"; then MOZ_OPTIMIZE_FLAGS="-freorder-blocks -fno-reorder-functions $MOZ_OPTIMIZE_FLAGS" fi @@ -945,7 +945,7 @@ case "$target" in *-*linux*) if test "$GNU_CC" -o "$GNU_CXX"; then MOZ_PGO_OPTIMIZE_FLAGS="-O3" - MOZ_OPTIMIZE_FLAGS="-Os" + MOZ_OPTIMIZE_FLAGS="-O2" if test -z "$CLANG_CC"; then MOZ_OPTIMIZE_FLAGS="-freorder-blocks $MOZ_OPTIMIZE_FLAGS" fi -- cgit v1.2.3