spu: fix valgrind errors
[pcsx_rearmed.git] / Makefile
index f6d3470..900a5d8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -66,7 +66,8 @@ LDFLAGS += -lasound
 endif
 
 # gpu
-plugins/dfxvideo/%.o: CFLAGS += -Wall
+# note: code is not safe for strict-aliasing? (Castlevania problems)
+plugins/dfxvideo/%.o: CFLAGS += -Wall -fno-strict-aliasing
 OBJS += plugins/dfxvideo/gpu.o
 plugins/dfxvideo/gpu.o: plugins/dfxvideo/fps.c plugins/dfxvideo/prim.c \
        plugins/dfxvideo/gpu.c plugins/dfxvideo/soft.c
@@ -147,7 +148,7 @@ VER ?= $(shell git describe master)
 
 rel: pcsx $(PLUGINS) \
                pandora/pcsx.sh pandora/pcsx.pxml pandora/pcsx.png \
-               pandora/picorestore pandora/readme.txt skin COPYING
+               pandora/picorestore pandora/readme.txt pandora/skin COPYING
        rm -rf out
        mkdir -p out/plugins
        cp -r $^ out/