aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlemens Nanni2018-06-02 15:12:42 +0200
committerHiltjo Posthuma2018-06-02 16:56:10 +0200
commit3cd4023fb35d0aeb6e888bfdc1845f2f0251ad20 (patch)
treeea6902772f7a0cc28d6b6a0985d13cf40b1ff539
parentf40f86fa873bc4acccdf3d929aa0f786993ae31d (diff)
Do not strip at link stage
Building with debug symbols is worthless unless LDFLAGS are manually adjusted as well.
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
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}\"