]> git.armaanb.net Git - st.git/commitdiff
Making st compile on OS X.
authorChristoph Lohmann <20h@r-36.net>
Tue, 5 Mar 2013 21:12:11 +0000 (22:12 +0100)
committerChristoph Lohmann <20h@r-36.net>
Tue, 5 Mar 2013 21:12:11 +0000 (22:12 +0100)
config.mk

index abf25c12b27cf9dcfaa646b1b80d25ce43c3ff7f..4d10df473926e33b3bb345f207e5a6fe3813c9a2 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -20,7 +20,7 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lutil -lXext -lXft \
 
 # flags
 CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE -D_XOPEN_SOURCE=600
-CFLAGS += -g -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+CFLAGS += -g -std=c99 -pedantic -Wall -Wvariadic-macros -Os ${INCS} ${CPPFLAGS}
 LDFLAGS += -g ${LIBS}
 
 # compiler and linker