Do not strip at link stage
authorHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 2 Jun 2018 15:01:24 +0000 (17:01 +0200)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 2 Jun 2018 15:01:24 +0000 (17:01 +0200)
Building with debug symbols is worthless unless LDFLAGS are manually adjusted
as well.

config.mk

index 528704c..ae34ad8 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -25,7 +25,7 @@ LIBS = -L$(X11LIB) -lX11 $(XINERAMALIBS) $(FREETYPELIBS)
 # flags
 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XINERAMAFLAGS)
 CFLAGS   = -std=c99 -pedantic -Wall -Os $(INCS) $(CPPFLAGS)
-LDFLAGS  = -s $(LIBS)
+LDFLAGS  = $(LIBS)
 
 # compiler and linker
 CC = cc