X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.mk;h=7ae510e933e76b6bac976f342266c886f4f285f2;hb=86d1e432a823dad7bb64808b8192014fddc8cd9f;hp=298484ee71a56df0c19d0c67a6a573c4eb9c93c7;hpb=0015e198bfceae50a55403ad1339345340f4dcc0;p=st.git diff --git a/config.mk b/config.mk index 298484e..7ae510e 100644 --- a/config.mk +++ b/config.mk @@ -19,10 +19,10 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lm -lrt -lX11 -lutil -lXext -lXft \ `pkg-config --libs freetype2` # flags -CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE -D_XOPEN_SOURCE=600 +CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 CFLAGS += -g -std=c99 -pedantic -Wall -Wvariadic-macros -Os ${INCS} ${CPPFLAGS} LDFLAGS += -g ${LIBS} # compiler and linker -CC ?= cc +# CC = cc