mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-11-16 07:48:07 +01:00
add -Werror
This commit is contained in:
parent
ccb8fb4df7
commit
f5ae6b9809
1 changed files with 2 additions and 2 deletions
|
@ -18,13 +18,13 @@
|
|||
|
||||
ifeq ($(MEMDEBUG),TRUE)
|
||||
DEFINES = -DMEM_DEBUG -DDEBUG
|
||||
CFLAGS += -g $(GPROFFLAG) -Wall -Wunused-parameter
|
||||
CFLAGS += -g $(GPROFFLAG) -Wall -Wunused-parameter -Wcast-align -Werror
|
||||
CFLAGS += -DDEBUG_TS
|
||||
PLATFORM = obj_linux_memdbg
|
||||
else
|
||||
DEFINES =
|
||||
PLATFORM = obj_linux_rel
|
||||
CFLAGS += -Os
|
||||
CFLAGS += -Os -Werror
|
||||
endif
|
||||
|
||||
DO_CURSES = -DPLATFORM_NCURSES
|
||||
|
|
Loading…
Reference in a new issue