diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2013-01-20 19:13:15 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2013-01-20 19:13:15 +0100 |
commit | cf3ef6b5a2a286b40b2e6e828b8de3a95dad909c (patch) | |
tree | e3592e3636df1994e278b8028ca4b5e968952c30 | |
parent | a5064fbe6963da22ce34fc4d1ddbbb68094187ab (diff) |
use ansi c, not posix anymore
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
-rw-r--r-- | config.mk | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -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} |