Android: compile flags fix

master
Maksim 2021-11-09 18:45:09 +01:00
parent a9cc034eaf
commit e76965f22a
1 changed files with 2 additions and 4 deletions

View File

@ -7,16 +7,14 @@ APP_MODULES := MultiCraft
APP_CPPFLAGS := -Ofast -fvisibility=hidden -Wno-extra-tokens
ifeq ($(APP_ABI),armeabi-v7a)
APP_CPPFLAGS += -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb
endif
ifeq ($(APP_ABI),x86)
APP_CPPFLAGS += -march=i686 -mtune=intel -mssse3 -mfpmath=sse -m32 -funroll-loops
endif
ifndef NDEBUG
APP_CPPFLAGS := -g -D_DEBUG -O0 -fno-omit-frame-pointer
else
APP_CPPFLAGS += -D__FILE__=__FILE_NAME__ -Wno-builtin-macro-redefined
endif
APP_CPPFLAGS += -fexceptions #-Werror=shorten-64-to-32