JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
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 abf25c1..4d10df4 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
 
 # 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
 LDFLAGS += -g ${LIBS}
 
 # compiler and linker