diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile index c83a62ef..c05e74bb 100644 --- a/src/Makefile +++ b/src/Makefile @@ -309,14 +309,14 @@ 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 + CFLAGS += -target aarch64 -mfix-cortex-a53-835769 # Compilation functions attributes options CFLAGS += -ffunction-sections -funwind-tables -fstack-protector-strong -fPIE -fPIC # Compiler options for the linker # -Werror=format-security CFLAGS += -Wa,--noexecstack -Wformat -no-canonical-prefixes # Preprocessor macro definitions - CFLAGS += -DANDROID -DPLATFORM_ANDROID -D__ANDROID_API__=21 + CFLAGS += -DANDROID -DPLATFORM_ANDROID -D__ANDROID_API__=21 -DMAL_NO_OSS endif # Define required compilation flags for raylib SHARED lib @@ -416,6 +416,10 @@ ifeq ($(INCLUDE_AUDIO_MODULE),TRUE) endif endif +ifeq ($(PLATFORM),PLATFORM_ANDROID) + OBJS += external/android/native_app_glue/android_native_app_glue.o +endif + # Default target entry all: raylib |
