commit cf3ef6b5a2a286b40b2e6e828b8de3a95dad909c parent a5064fbe6963da22ce34fc4d1ddbbb68094187ab Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 20 Jan 2013 19:13:15 +0100 use ansi c, not posix anymore Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org> Diffstat:
M | config.mk | | | 13 | ++++++------- |
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/config.mk b/config.mk @@ -1,5 +1,5 @@ # sfeed version -VERSION = 0.8 +VERSION = 0.9 # customize below to fit your system @@ -9,17 +9,16 @@ MANPREFIX = ${PREFIX}/share/man # includes and libs INCS = -LIBEXPAT = -lexpat LIBS = -lc -# flags -#CFLAGS = -Os -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -DVERSION=\"${VERSION}\" -#LDFLAGS = -s ${LIBS} - # debug -CFLAGS = -g -O0 -pedantic -Wall -Wextra -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=700 -DVERSION=\"${VERSION}\" +CFLAGS = -O0 -g -ansi -Wall -Wextra -pedantic -DVERSION=\"${VERSION}\" LDFLAGS = ${LIBS} +# optimized +#CFLAGS = -O2 -ansi -DVERSION=\"${VERSION}\" -DVERSION=\"${VERSION}\" +#LDFLAGS = -s ${LIBS} + # Solaris #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" #LDFLAGS = ${LIBS}