Enable -Werror only for Haiku for now.
It is a bit early to have it enabled for all Linux variants out there.
This commit is contained in:
parent
0b6e782f74
commit
9e55b2d995
@ -220,7 +220,7 @@ endif
|
||||
LUACOPT = -D__ENABLE_LUA__ $(shell pkg-config $(LUAPKG) --cflags)
|
||||
LUALOPT = $(shell pkg-config $(LUAPKG) --libs)
|
||||
endif
|
||||
COPT = -W -Wall -c -g $(shell sdl-config --cflags) $(TTFCOPT) -I/boot/common/include $(LUACOPT)
|
||||
COPT = -W -Wall -Werror -c -g $(shell sdl-config --cflags) $(TTFCOPT) -I/boot/common/include $(LUACOPT)
|
||||
COPT += -DENABLE_FILENAMES_ICONV
|
||||
LOPT = $(shell sdl-config --libs) -lSDL_image -lpng -ljpeg -lz $(TTFLOPT) -lfreetype -lbe $(LUALOPT) -liconv
|
||||
CC = gcc
|
||||
@ -384,7 +384,7 @@ endif
|
||||
|
||||
# Compiles a regular linux executable for the native platform
|
||||
BIN = ../bin/grafx2
|
||||
COPT = -W -Wall -Wdeclaration-after-statement -Werror -std=c99 -c -g $(shell sdl-config --cflags) $(TTFCOPT) $(LUACOPT) $(JOYCOPT) -O$(OPTIM)
|
||||
COPT = -W -Wall -Wdeclaration-after-statement -std=c99 -c -g $(shell sdl-config --cflags) $(TTFCOPT) $(LUACOPT) $(JOYCOPT) -O$(OPTIM)
|
||||
COPT += $(shell pkg-config --cflags libpng)
|
||||
|
||||
ifneq ($(PLATFORM), FreeBSD)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user