about summary refs log tree commit diff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2018-06-02 17:01:24 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2018-06-02 17:01:24 +0200
commita9eae39e934d8dab7f1772570efb5f25825bfe01 (patch)
tree26c8b62cbfb14ad211ce02da3cd1464568786c2f
parentcode-style for pledge: check the return code -1, not < 0 (diff)
downloaddmenu-a9eae39e934d8dab7f1772570efb5f25825bfe01.tar.gz
dmenu-a9eae39e934d8dab7f1772570efb5f25825bfe01.tar.bz2
dmenu-a9eae39e934d8dab7f1772570efb5f25825bfe01.zip
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