Do not strip at link stage Building with debug symbols is worthless unless LDFLAGS are manually adjusted as well.
Klemens Nanni kn@openbsd.org
Sat, 02 Jun 2018 15:12:42 +0200
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
config.mk
→
config.mk
@@ -28,7 +28,7 @@ # flags
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}\"