diff options
author | New Tobin Paradigm <email@mattatobin.com> | 2018-04-18 08:22:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-18 08:22:09 -0400 |
commit | fe15bb43decc414a6f57301da049b34f488556ab (patch) | |
tree | 8ab057bddd490329eb66776332a7b4a0d03e6499 /old-configure.in | |
parent | 1ef526f0f0ea664518789c5ab73ed9de140714ad (diff) | |
parent | c8f78b1ecf35ec490fdcbfdb13bef3c225e17811 (diff) | |
download | UXP-fe15bb43decc414a6f57301da049b34f488556ab.tar UXP-fe15bb43decc414a6f57301da049b34f488556ab.tar.gz UXP-fe15bb43decc414a6f57301da049b34f488556ab.tar.lz UXP-fe15bb43decc414a6f57301da049b34f488556ab.tar.xz UXP-fe15bb43decc414a6f57301da049b34f488556ab.zip |
Merge pull request #199 from trav90/buildsystem-work
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 |