Browse Source

fix android build

notaz 6 years ago
parent
commit
14caeebcc7
1 changed files with 4 additions and 1 deletions
  1. 4 1
      jni/Android.mk

+ 4 - 1
jni/Android.mk

@@ -52,6 +52,9 @@ else
   use_sh2mame = 1
 endif
 
+# PD is currently not strict aliasing safe
+LOCAL_CFLAGS += -fno-strict-aliasing
+
 # sources
 SRCS_COMMON :=
 DEFINES :=
@@ -69,7 +72,7 @@ LOCAL_SRC_FILES += $(R)zlib/gzio.c $(R)zlib/inffast.c $(R)zlib/inflate.c \
 	$(R)zlib/crc32.c $(R)zlib/adler32.c $(R)zlib/zutil.c \
 	$(R)zlib/compress.c $(R)zlib/uncompr.c
 
-LOCAL_SRC_FILES += $(R)unzip/unzip.c $(R)unzip/unzip_stream.c
+LOCAL_SRC_FILES += $(R)unzip/unzip.c
 
 LOCAL_C_INCLUDES += $(R)