summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-05-15 13:44:41 +0200
committerAnselm R. Garbe <arg@suckless.org>2007-05-15 13:44:41 +0200
commit5a3dfb1c40a58647cd55147cc93fec9811a0a6a1 (patch)
treea73ec432af255db2079559ad4cd06c6eb4f7b870
parent4042a11e5174633e9beeeec120937856e1d0f74f (diff)
removed strip, added -s to LDFLAGs
-rw-r--r--Makefile1
-rw-r--r--config.mk2
2 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6b273cb..35e30f5 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,6 @@ ${OBJ}: dmenu.h config.mk
dmenu: ${OBJ}
@echo CC -o $@
@${CC} -o $@ ${OBJ} ${LDFLAGS}
- @strip $@
clean:
@echo cleaning
diff --git a/config.mk b/config.mk
index ce5daab..18565ea 100644
--- a/config.mk
+++ b/config.mk
@@ -16,7 +16,7 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
# flags
CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
-LDFLAGS = ${LIBS}
+LDFLAGS = -s ${LIBS}
#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
#LDFLAGS = -g ${LIBS}