summaryrefslogtreecommitdiff
path: root/old-configure.in
diff options
context:
space:
mode:
authortrav90 <travawine@protonmail.ch>2018-04-17 22:54:30 -0500
committertrav90 <travawine@protonmail.ch>2018-04-17 22:54:30 -0500
commitc8f78b1ecf35ec490fdcbfdb13bef3c225e17811 (patch)
tree5abcec71463ee6f5b7ac06261b0b55d32411c8cd /old-configure.in
parent9fb0fef0d2020d8890162548264e226e5d55033e (diff)
downloaduxp-c8f78b1ecf35ec490fdcbfdb13bef3c225e17811.tar.gz
Set default MOZ_OPTIMIZE_FLAGS to -O2 when using GCC
Diffstat (limited to 'old-configure.in')
-rw-r--r--old-configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/old-configure.in b/old-configure.in
index 6e2d743d68..9d57839e34 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