From a9eae39e934d8dab7f1772570efb5f25825bfe01 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sat, 2 Jun 2018 17:01:24 +0200 Subject: [PATCH] Do not strip at link stage Building with debug symbols is worthless unless LDFLAGS are manually adjusted as well. --- config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1