Fix Android build
This commit is contained in:
parent
4ad2d2748d
commit
e8ff82b394
1 changed files with 4 additions and 1 deletions
|
@ -7,6 +7,9 @@ package rl
|
|||
#include "external/android/native_app_glue/android_native_app_glue.c"
|
||||
|
||||
#cgo android LDFLAGS: -llog -landroid -lEGL -lGLESv2 -lOpenSLES -lm
|
||||
#cgo android CFLAGS: -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Iexternal/android/native_app_glue
|
||||
#cgo android CFLAGS: -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Iexternal/android/native_app_glue -Wno-implicit-const-int-float-conversion
|
||||
|
||||
#cgo android,arm CFLAGS: -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16
|
||||
#cgo android,arm64 CFLAGS: -target aarch64 -mfix-cortex-a53-835769
|
||||
*/
|
||||
import "C"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue