aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authornotaz2011-03-02 01:19:29 +0200
committernotaz2011-03-02 01:21:59 +0200
commit2ef486eeb981b5a9fa8f39446cde1b80264a2e4c (patch)
tree56c980d37f84240758585249f016d6864968e429 /Makefile
parent2588a9387f60ec46ec9c7a1f7ebc480276e5cf1e (diff)
downloadpcsx_rearmed-2ef486eeb981b5a9fa8f39446cde1b80264a2e4c.tar.gz
pcsx_rearmed-2ef486eeb981b5a9fa8f39446cde1b80264a2e4c.tar.bz2
pcsx_rearmed-2ef486eeb981b5a9fa8f39446cde1b80264a2e4c.zip
dfxvideo: turn off strict-aliasing (causes problems)
all that int16/int32 casting is messing it up I guess.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f36a031..900a5d8 100644
--- 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