summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Lane Smith <cls@lubutu.com>2012-01-18 23:56:13 +0000
committerConnor Lane Smith <cls@lubutu.com>2012-01-18 23:56:13 +0000
commit7707111c109f105b8b404c3250dca879bb94407c (patch)
treee69af5833089ea197544055bfda7dcd3436db74c
parent7f45b3f7aa590755d42986585b9936a186920ac2 (diff)
remove _POSIX_C_SOURCE cflag
-rw-r--r--config.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/config.mk b/config.mk
index 725e28e..ca89fd6 100644
--- a/config.mk
+++ b/config.mk
@@ -17,9 +17,8 @@ INCS = -I${X11INC}
LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS}
# flags
-CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
-#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+CPPFLAGS = -D_BSD_SOURCE -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
+CFLAGS = -ansi -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}
# compiler and linker