X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=Makefile;h=900a5d837070032ed072af84bac661036f81a2b2;hp=f36a031ffbf7becf960995f19a3699e16283ad37;hb=b12c9fb877aa40666d5ad367ecca152cfa2edb64;hpb=e3d0da2638cc4c97ccb1f577b4c54363ec69c5a6 diff --git a/Makefile b/Makefile index f36a031f..900a5d83 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