X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=config.mk;h=4d908a5416deaca7a58db1e15115baecc689a003;hb=76eb5783046cf89ba6b7e9f8cdab35fe86d07a82;hp=ea23da4f3bfb6b0bd441ed5ccd9fb58a9918a805;hpb=96e60c66bc85985fe34cfdcd989abc08fc46a5e2;p=dmenu.git diff --git a/config.mk b/config.mk index ea23da4..4d908a5 100644 --- a/config.mk +++ b/config.mk @@ -23,8 +23,8 @@ INCS = -I${X11INC} -I${FREETYPEINC} LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} # flags -CPPFLAGS = -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} -CFLAGS = -ansi -pedantic -Wall -Os ${INCS} ${CPPFLAGS} +CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} +CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} LDFLAGS = -s ${LIBS} # compiler and linker