Skip to content

Commit

Permalink
Bug 1379032 - Use -Oz as optimization flag on android/clang. r=froydnj
Browse files Browse the repository at this point in the history
Due to android/ndk#133 (comment) and bug 1163171 comment #14, we should use -Oz instead of -Os on Android/clang

MozReview-Commit-ID: 1T6fI87sa33

UltraBlame original commit: 29ef8a111035ecbfd1cc50bd2cab3435384ad0b0
  • Loading branch information
marco-c committed Oct 1, 2019
1 parent 2085304 commit 7f244a1
Showing 1 changed file with 42 additions and 6 deletions.
48 changes: 42 additions & 6 deletions old-configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -7556,12 +7556,6 @@ fi
MOZ_GFX_OPTIMIZE_MOBILE
=
1
MOZ_OPTIMIZE_FLAGS
=
"
-
Os
"
if
test
-
Expand All @@ -7584,7 +7578,49 @@ fno
reorder
-
functions
-
Os
"
else
#
From
https
:
/
/
github
.
com
/
android
-
ndk
/
ndk
/
issues
/
133
#
issuecomment
-
308549264
#
-
Oz
is
smaller
than
-
Os
on
clang
.
MOZ_OPTIMIZE_FLAGS
=
"
-
Oz
"
fi
;
Expand Down

0 comments on commit 7f244a1

Please sign in to comment.