aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma2018-06-02 17:01:24 +0200
committerHiltjo Posthuma2018-06-02 17:01:24 +0200
commita9eae39e934d8dab7f1772570efb5f25825bfe01 (patch)
tree26c8b62cbfb14ad211ce02da3cd1464568786c2f
parent851b73d178c8d7665c6d8a0bc34dbd4f9d1aa77b (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 528704c..ae34ad8 100644
--- 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