mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-21 19:51:33 +00:00
Enable optimisations when building release
This commit is contained in:
parent
6b40649ef5
commit
a4b8ffc635
1 changed files with 6 additions and 0 deletions
|
@ -3,6 +3,12 @@ LOCAL_PATH := $(call my-dir)
|
|||
JK3_BASE_CFLAGS = -DHAVE_GLES -DFINAL_BUILD -fexceptions -Wall -Wno-write-strings -Wno-comment -fno-caller-saves -fno-tree-vectorize -Wno-unused-but-set-variable -fvisibility=hidden
|
||||
JK3_BASE_CPPFLAGS = -fvisibility-inlines-hidden -Wno-invalid-offsetof -fvisibility=hidden
|
||||
|
||||
# Optimisation flags required for release build so weapon selector beam is visible
|
||||
ifeq ($(NDK_DEBUG), 0)
|
||||
JK3_BASE_CFLAGS += -O1
|
||||
JK3_BASE_CPPFLAGS += -O1
|
||||
endif
|
||||
|
||||
JK3_BASE_LDLIBS =
|
||||
|
||||
#Armv7
|
||||
|
|
Loading…
Reference in a new issue