mirror of
https://github.com/status-im/react-native.git
synced 2025-01-13 19:15:05 +00:00
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:
parent
0c9eeef88e
commit
c04ab92192
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user