diff options
| author | Ray <[email protected]> | 2018-05-27 19:06:14 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2018-05-27 19:06:14 +0200 |
| commit | 1f0cc57ec7e4c56baf013ecaaab2050282b0733b (patch) | |
| tree | 2465fe1eb8fd58468f33cd8f11823fa5c15a6911 /templates | |
| parent | f89afaa335fef6cb5f40167436c09d5df6dd4126 (diff) | |
| download | raylib-1f0cc57ec7e4c56baf013ecaaab2050282b0733b.tar.gz raylib-1f0cc57ec7e4c56baf013ecaaab2050282b0733b.zip | |
Corrected issue with compiler param
Added android_native_app_glue module to raylib compilation instead of
compiling it as static lib at apk generation.
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/standard_game/Makefile.Android | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/templates/standard_game/Makefile.Android b/templates/standard_game/Makefile.Android index 76a54536..87b04722 100644 --- a/templates/standard_game/Makefile.Android +++ b/templates/standard_game/Makefile.Android @@ -77,7 +77,7 @@ AR = $(ANDROID_TOOLCHAIN)/bin/aarch64-linux-android-ar # Compiler flags for arquitecture #CFLAGS = -std=c99 -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 --> Old 32bit -CFLAGS = -std=c99 -target aarch64 +CFLAGS = -std=c99 -target aarch64 -mfix-cortex-a53-835769 # Compilation functions attributes options CFLAGS += -ffunction-sections -funwind-tables -fstack-protector-strong -fPIC # Compiler options for the linker @@ -98,7 +98,7 @@ LDFLAGS += -L. -L$(PROJECT_BUILD_PATH)/obj -L$(PROJECT_BUILD_PATH)/lib/arm64-v8a # Define any libraries to link into executable # if you want to link libraries (libname.so or libname.a), use the -lname -LDLIBS = -static -lraylib -lnative_app_glue -llog -landroid -lEGL -lGLESv2 -lOpenSLES -lm -ldl -lc +LDLIBS = -lm -lc -lraylib -llog -landroid -lEGL -lGLESv2 -lOpenSLES -ldl # Generate target objects list from PROJECT_SOURCE_FILES OBJS = $(patsubst %.c, $(PROJECT_BUILD_PATH)/obj/%.o, $(PROJECT_SOURCE_FILES)) @@ -112,7 +112,6 @@ all: create_temp_project_dirs \ generate_android_manifest \ generate_apk_keystore \ config_project_package \ - compile_native_app_glue \ compile_project_code \ compile_project_class \ compile_project_class_dex \ |
