summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-07-30 15:53:04 +0300
committerJari Vetoniemi <mailroxas@gmail.com>2018-07-30 15:53:04 +0300
commit1b0c42ed185c30b6fa439554c40cb6be5e991839 (patch)
treeccdc7f2bc0fc910c99299d3dcafa1eb24a52afe7 /Makefile
parentba03f5a261ac74ed65aa37e3cc24ea6cfdf6dd58 (diff)
Stub OpenSLES
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c7d0515..cb0f63f 100644
--- a/Makefile
+++ b/Makefile
@@ -47,7 +47,9 @@ runtime/liblog.so: src/liblog.c
runtime/libEGL.so: private override CPPFLAGS += -D_GNU_SOURCE
runtime/libEGL.so: private override LDLIBS += -lEGL `pkg-config --libs glfw3`
runtime/libEGL.so: src/libEGL.c
-native: runtime/libdl.so runtime/libc.so runtime/libpthread.so runtime/libandroid.so runtime/liblog.so runtime/libEGL.so
+runtime/libOpenSLES.so: private override CFLAGS += -Wno-pedantic
+runtime/libOpenSLES.so: wrapper.a src/libOpenSLES.c
+native: runtime/libdl.so runtime/libc.so runtime/libpthread.so runtime/libandroid.so runtime/liblog.so runtime/libEGL.so runtime/libOpenSLES.so
jvm.a: private override CPPFLAGS += -D_GNU_SOURCE
jvm.a: private override CFLAGS += -Wno-unused-variable -Wno-pedantic