Skip to content

Commit

Permalink
Use -O3 to compile CSSLayout in open source
Browse files Browse the repository at this point in the history
Summary: This is how we compile internally

Reviewed By: emilsjolander

Differential Revision: D4182691

fbshipit-source-id: 314b1a1ead7d299677ce7f71549c986e1b796b3b
  • Loading branch information
astreet authored and Facebook Github Bot committed Nov 15, 2016
1 parent 0c9eeef commit c04ab92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion ReactCommon/CSSLayout/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit c04ab92

Please sign in to comment.