X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.mk;h=c6203414f0cc0c478032050f0147dc6522d3ee4a;hb=80d33d696d73c14c81da6e35ab06ee97517c9852;hp=6d2469191a64afcba81a9addd804abc9a6a6c224;hpb=efdd0dd584829a9db969511e487010bf2107b503;p=surf.git diff --git a/config.mk b/config.mk index 6d24691..c620341 100644 --- a/config.mk +++ b/config.mk @@ -13,12 +13,12 @@ GTKLIB=$(shell pkg-config --libs gtk+-2.0 webkit-1.0) # includes and libs INCS = -I. -I/usr/include ${GTKINC} -LIBS = -L/usr/lib -lc ${GTKLIB} +LIBS = -L/usr/lib -lc ${GTKLIB} -lgthread-2.0 # flags -CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} +CPPFLAGS = -DVERSION=\"${VERSION}\" #CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} -CFLAGS = -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} +CFLAGS = -std=c99 -pedantic -Wall -Werror -O0 ${INCS} ${CPPFLAGS} #LDFLAGS = -s ${LIBS} LDFLAGS = ${LIBS}