From: Christoph Lohmann <20h@r-36.net> Date: Tue, 5 Mar 2013 21:12:11 +0000 (+0100) Subject: Making st compile on OS X. X-Git-Url: https://jasonwoof.com/gitweb/?p=st.git;a=commitdiff_plain;h=82494f248d778e1195a9eabfac916ce08c52b6da Making st compile on OS X. --- diff --git a/config.mk b/config.mk index abf25c1..4d10df4 100644 --- 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