am f1dac7d7
: am 81a48d47
: Add -mstackrealign to avoid crashes with SSE instructions on pre-K x86 devices.
* commit 'f1dac7d7e74fff6e92c2d74eb5d9e6793ee19087': Add -mstackrealign to avoid crashes with SSE instructions on pre-K x86 devices.
This commit is contained in:
commit
b2f067cf47
1 changed files with 6 additions and 0 deletions
|
@ -34,6 +34,12 @@ LOCAL_CFLAGS += -Werror -Wall -Wextra -Weffc++ -Wformat=2 -Wcast-qual -Wcast-ali
|
|||
# To suppress compiler warnings for unused variables/functions used for debug features etc.
|
||||
LOCAL_CFLAGS += -Wno-unused-parameter -Wno-unused-function
|
||||
|
||||
# HACK: -mstackrealign is required for x86 builds running on pre-KitKat devices to avoid crashes
|
||||
# with SSE instructions.
|
||||
ifeq ($(TARGET_ARCH), x86)
|
||||
LOCAL_CFLAGS += -mstackrealign
|
||||
endif # x86
|
||||
|
||||
include $(LOCAL_PATH)/NativeFileList.mk
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
|
|
Loading…
Reference in a new issue