commit d93375e2c9949610df34b5220fdef0ce7dffd10a parent 87edcaa976f44a0058d14a9c5c1185ed8c4f2111 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 25 Oct 2014 10:24:20 +0000 config.mk: wextra for release too, x_open_source=700 for POSIX 2008 Diffstat:
M | config.mk | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/config.mk b/config.mk @@ -11,14 +11,14 @@ INCS = -I. -I/usr/include LIBS = -L/usr/lib -lc # flags -CPPFLAGS = -DVERSION=\"${VERSION}\" -D_POSIX_C_SOURCE=200809 -D_BSD_SOURCE -D_XOPEN_SOURCE=500 +CPPFLAGS = -DVERSION=\"${VERSION}\" -D_POSIX_C_SOURCE=200809 -D_BSD_SOURCE -D_XOPEN_SOURCE=700 # debug #CFLAGS = -g -std=c99 -pedantic -Wall -Wextra -O0 ${INCS} ${CPPFLAGS} #LDFLAGS = ${LIBS} # release -CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} +CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os ${INCS} ${CPPFLAGS} LDFLAGS = -s ${LIBS} # compiler and linker