Change code to compile with -Wall -Wextra.

--HG--
extra : convert_revision : 992e1515458c6ee36cd481d1ba0ff8febf892d12
This commit is contained in:
Juan RP
2009-02-18 01:07:51 +01:00
parent 028cacdd2a
commit 3b18195a6a
8 changed files with 34 additions and 12 deletions

View File

@@ -10,4 +10,4 @@ INSTALL_STRIPPED ?= -s
LDFLAGS += -L$(TOPDIR)/lib -L$(PREFIX)/lib -lxbps
CPPFLAGS += -I$(TOPDIR)/include
CFLAGS += -Wstack-protector -fstack-protector-all
CFLAGS += -O2 -Wall -Werror -fPIC -DPIC
CFLAGS += -O2 -Wall -Wextra -Werror -fPIC -DPIC