X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=jni%2FAndroid.mk;h=91b31fd7ab594736e8132040e16874ec2b14e144;hb=34e424aa2709dfc457d751f55cdbf5b881ae3ef4;hp=122b18e8f5624e35c154a0c277b2c00af181e0c2;hpb=21299f18ad706a17222bc4bc2ae31b1cbd033fc5;p=picodrive.git diff --git a/jni/Android.mk b/jni/Android.mk index 122b18e..91b31fd 100644 --- a/jni/Android.mk +++ b/jni/Android.mk @@ -24,7 +24,6 @@ asm_memory = 0 asm_render = 0 asm_ym2612 = 0 asm_misc = 0 -asm_cdpico = 0 asm_cdmemory = 0 asm_mix = 0 @@ -43,7 +42,6 @@ ifeq ($(TARGET_ARCH),arm) asm_render = 1 asm_ym2612 = 1 asm_misc = 1 - asm_cdpico = 1 asm_cdmemory = 1 asm_mix = 1 else @@ -52,6 +50,9 @@ else use_sh2mame = 1 endif +# PD is currently not strict aliasing safe +LOCAL_CFLAGS += -fno-strict-aliasing + # sources SRCS_COMMON := DEFINES := @@ -69,7 +70,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)