From: notaz Date: Thu, 3 Aug 2017 22:08:17 +0000 (+0300) Subject: fix android build X-Git-Tag: v1.92~61 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14caeebcc7fc4a73731eec05c1c6150fa29d1374;p=picodrive.git fix android build --- diff --git a/jni/Android.mk b/jni/Android.mk index 122b18e8..1b8b9563 100644 --- a/jni/Android.mk +++ b/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)