Fix build with GCC 4.4.5. Patch from Semen Panevin 2:5025/121

This commit is contained in:
Stas Degteff 2011-06-01 20:58:44 +00:00
parent 3e03390ea4
commit b6873e5bda

View File

@ -164,7 +164,7 @@ endif
endif endif
CFLAGS+=-funsigned-char -g $(INCS) -Wall -Wno-sign-compare -pedantic -O2 -DPRAGMA_PACK # -fomit-frame-pointer CFLAGS+=-funsigned-char -g $(INCS) -Wall -Wno-sign-compare -pedantic -O2 -DPRAGMA_PACK # -fomit-frame-pointer
LNKFLAGS+=-g LNKFLAGS+=-g
CPPFLAGS+=$(CFLAGS) -fno-rtti # -fno-exceptions CPPFLAGS+=$(CFLAGS) -fno-pic -fno-rtti # -fno-exceptions
# Run `make USE_NCURSES=0` if you dislike ncurses # Run `make USE_NCURSES=0` if you dislike ncurses
# Run `make BUGGY_NCURSES=1` if your build requires additional keypresses to # Run `make BUGGY_NCURSES=1` if your build requires additional keypresses to