From 75bf03886e4acb87bd7922d42d828f56c5dbe4bb Mon Sep 17 00:00:00 2001 From: notaz Date: Fri, 4 Aug 2017 01:08:17 +0300 Subject: [PATCH] fix android build --- jni/Android.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/jni/Android.mk b/jni/Android.mk index f94aba2e..05b2a37c 100644 --- a/jni/Android.mk +++ b/jni/Android.mk @@ -56,6 +56,9 @@ else use_sh2mame = 1 endif +# PD is currently not strict aliasing safe +LOCAL_CFLAGS += -fno-strict-aliasing + # sources SRCS_COMMON := DEFINES := @@ -73,7 +76,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) -- 2.39.5