commit a0128acd10507703644c1a401932bfeb821bf992 parent b8917e420aa03fdf8b431e76b560d89a3ca5e095 Author: Stephen Paul Weber <singpolyma@singpolyma.net> Date: Mon, 31 Oct 2011 18:32:04 -0500 Build as ISO C99 Diffstat:
config.mk | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/config.mk b/config.mk @@ -16,8 +16,8 @@ INCS = -I. -I/usr/include LIBS = -L/usr/lib -L${X11LIB} -lc -lX11 # flags -CPPFLAGS = -DVERSION=\"${VERSION}\" -CFLAGS = -g -std=gnu99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} +CPPFLAGS = -DVERSION=\"${VERSION}\" -D_POSIX_C_SOURCE=200809L +CFLAGS = -g -std=c99 -pedantic -Wall ${INCS} ${CPPFLAGS} LDFLAGS = -g ${LIBS} #LDFLAGS = -s ${LIBS}