Do not strip at link stage - dwm - dynamic window manager (HTM) git clone https://git.parazyd.org/dwm (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 3cd4023fb35d0aeb6e888bfdc1845f2f0251ad20 (DIR) parent f40f86fa873bc4acccdf3d929aa0f786993ae31d (HTM) Author: Klemens Nanni <kn@openbsd.org> Date: Sat, 2 Jun 2018 15:12:42 +0200 Do not strip at link stage Building with debug symbols is worthless unless LDFLAGS are manually adjusted as well. Diffstat: M config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git 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}\"