Change compiler flag to -O2

Summary:
@public

Changes compiler flag from `-O3` to `-O2`

Saves 5.3 KiB compressed / 12 KiB uncompressed on 32bit Android.

Java on-device benchmarks show a slight improvement.

Reviewed By: astreet

Differential Revision: D13916987

fbshipit-source-id: e6bc474889e24a90ec473c8ae8c5029224c97eba
This commit is contained in:
David Aurelio
2019-02-04 12:49:27 -08:00
committed by Facebook Github Bot
parent 3645f43cea
commit ca7d4d1633

View File

@@ -57,7 +57,7 @@ BASE_COMPILER_FLAGS = [
"-fexceptions",
"-Wall",
"-Werror",
"-O3",
"-O2",
]
LIBRARY_COMPILER_FLAGS = BASE_COMPILER_FLAGS + [