From cf3ef6b5a2a286b40b2e6e828b8de3a95dad909c Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sun, 20 Jan 2013 19:13:15 +0100 Subject: use ansi c, not posix anymore Signed-off-by: Hiltjo Posthuma --- config.mk | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/config.mk b/config.mk index 8bddcad..c394b16 100644 --- 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} -- cgit v1.2.3