From: Klemens Nanni Date: Sat, 2 Jun 2018 13:12:42 +0000 (+0200) Subject: Do not strip at link stage X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=3cd4023fb35d0aeb6e888bfdc1845f2f0251ad20;p=dwm.git Do not strip at link stage Building with debug symbols is worthless unless LDFLAGS are manually adjusted as well. --- diff --git a/config.mk b/config.mk index 80dc936..25e2685 100644 --- a/config.mk +++ b/config.mk @@ -28,7 +28,7 @@ LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} #CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS} -LDFLAGS = -s ${LIBS} +LDFLAGS = ${LIBS} # Solaris #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"