Makefile (iptstate-2.2.6) | : | Makefile (iptstate-2.2.7.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 20 | skipping to change at line 20 | |||
PREFIX?=/usr | PREFIX?=/usr | |||
SBIN?=$(PREFIX)/sbin | SBIN?=$(PREFIX)/sbin | |||
INSTALL?=/usr/bin/install | INSTALL?=/usr/bin/install | |||
STRIP?=/usr/bin/strip | STRIP?=/usr/bin/strip | |||
MAN?=$(PREFIX)/share/man | MAN?=$(PREFIX)/share/man | |||
### ADVANCED USERS AND PACKAGERS MIGHT WANT TO CHANGE THIS | ### ADVANCED USERS AND PACKAGERS MIGHT WANT TO CHANGE THIS | |||
CXX?= g++ | CXX?= g++ | |||
CXXFLAGS?= -g -Wall -O2 | # All of our snprintf()s have size limits and are not a security issue, | |||
# but having to modulo every hours/second/minute variable in every snprintf | ||||
# is the only way to work around format-truncation warning which is cumbersome | ||||
# and hard to read. Hence -Wformat-truncation=0 | ||||
CXXFLAGS?= -g -Wall -O2 -Werror=format-security -Wformat-truncation=0 | ||||
CXXFILES?= iptstate.cc | CXXFILES?= iptstate.cc | |||
# THIS IS FOR NORMAL COMPILATION | # THIS IS FOR NORMAL COMPILATION | |||
LIBS?= -lncurses -lnetfilter_conntrack | LIBS?= -lncurses -lnetfilter_conntrack | |||
CPPFLAGS= | CPPFLAGS= | |||
### YOU SHOULDN'T NEED TO CHANGE ANYTHING BELOW THIS | ### YOU SHOULDN'T NEED TO CHANGE ANYTHING BELOW THIS | |||
all: iptstate | all: iptstate | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added |