X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.mk;h=ee052926324f04dac5a81500b002390617cc6844;hb=8c15f0e75880b7c1d80884f1dcf503e4097fe86b;hp=30489caeecb347d0b8475adc585e12e9dd42c7eb;hpb=f02e652fa03809056b8cd9bafd2549df2db1552f;p=surf.git diff --git a/config.mk b/config.mk index 30489ca..ee05292 100644 --- a/config.mk +++ b/config.mk @@ -19,8 +19,8 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${GTKLIB} -lgthread-2.0 \ -ljavascriptcoregtk-1.0 # flags -CPPFLAGS = -DVERSION=\"${VERSION}\" -CFLAGS = -g -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} +CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE +CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} LDFLAGS = -g ${LIBS} # Solaris