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