Working on Android APK building

This commit is contained in:
raysan5
2018-05-21 18:13:52 +02:00
parent e025e62445
commit 44181baf04
3 changed files with 10 additions and 8 deletions

View File

@@ -309,6 +309,7 @@ endif
ifeq ($(PLATFORM),PLATFORM_ANDROID)
# Compiler flags for arquitecture (only ARM, not ARM64)
#CFLAGS += -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16
CFLAGS += -target aarch64 -mfix-cortex-a53-835769 -mgeneral-regs-only
# Compilation functions attributes options
CFLAGS += -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC
# Compiler options for the linker