Use -O3 to compile CSSLayout in open source

Summary: This is how we compile internally

Reviewed By: emilsjolander

Differential Revision: D4182691

fbshipit-source-id: 314b1a1ead7d299677ce7f71549c986e1b796b3b
This commit is contained in:
Andy Street 2016-11-15 08:28:31 -08:00 committed by Facebook Github Bot
parent 0c9eeef88e
commit c04ab92192
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ LOCAL_SRC_FILES := \
LOCAL_C_INCLUDES := $(LOCAL_PATH)/jni
LOCAL_CFLAGS += -Wall -Werror -fvisibility=hidden -fexceptions -frtti
LOCAL_CFLAGS += -Wall -Werror -fvisibility=hidden -fexceptions -frtti -O3
CXX11_FLAGS := -std=c++11
LOCAL_CFLAGS += $(CXX11_FLAGS)
LOCAL_EXPORT_CPPFLAGS := $(CXX11_FLAGS)

View File

@ -11,6 +11,6 @@ LOCAL_SRC_FILES := \
LOCAL_C_INCLUDES := $(LOCAL_PATH)
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
LOCAL_CFLAGS := -Wall -Werror -fexceptions -frtti -std=c99
LOCAL_CFLAGS := -Wall -Werror -fexceptions -frtti -std=c99 -O3
include $(BUILD_STATIC_LIBRARY)