diff options
author | trav90 <travawine@protonmail.ch> | 2018-04-17 22:54:30 -0500 |
---|---|---|
committer | trav90 <travawine@protonmail.ch> | 2018-04-17 22:54:30 -0500 |
commit | c8f78b1ecf35ec490fdcbfdb13bef3c225e17811 (patch) | |
tree | 5abcec71463ee6f5b7ac06261b0b55d32411c8cd /old-configure.in | |
parent | 9fb0fef0d2020d8890162548264e226e5d55033e (diff) | |
download | UXP-c8f78b1ecf35ec490fdcbfdb13bef3c225e17811.tar UXP-c8f78b1ecf35ec490fdcbfdb13bef3c225e17811.tar.gz UXP-c8f78b1ecf35ec490fdcbfdb13bef3c225e17811.tar.lz UXP-c8f78b1ecf35ec490fdcbfdb13bef3c225e17811.tar.xz UXP-c8f78b1ecf35ec490fdcbfdb13bef3c225e17811.zip |
Set default MOZ_OPTIMIZE_FLAGS to -O2 when using GCC
Diffstat (limited to 'old-configure.in')
-rw-r--r-- | old-configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
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 |