Workaround for gcc-4.3 reporting a false warning on solaris.

- Disable -Werror for this file only. I did not want to alter fine code only because complains about it.
This commit is contained in:
Couriersud 2010-02-14 11:47:29 +00:00
parent d114078d72
commit fbbf48d668

View File

@ -476,6 +476,11 @@ ifeq ($(BASE_TARGETOS),os2)
$(OBJ)/emu/cpu/h6280/6280dasm.o : CDEFS += -D__STRICT_ANSI__
endif # OS2
ifeq ($(TARGETOS),solaris)
# solaris only has gcc-4.3 by default and is reporting a false positive
$(OBJ)/emu/video/tms9927.o : CCOMFLAGS += -Wno-error
endif # solaris
# drawSDL depends on the core software renderer, so make sure it exists
$(SDLOBJ)/drawsdl.o : $(SRC)/emu/rendersw.c $(SDLSRC)/drawogl.c $(SDLSRC)/texcopy.c