aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d7d41327f..ec02957ac 100644
--- a/Makefile
+++ b/Makefile
@@ -34,11 +34,11 @@ ARCH=`uname -m | sed -e 's/i.86/i386/' | sed -e 's/sparc.*/sparc/'`
34 34
35# -D_GNU_SOURCE is needed because environ is used in init.c 35# -D_GNU_SOURCE is needed because environ is used in init.c
36ifeq ($(DODEBUG),true) 36ifeq ($(DODEBUG),true)
37 CFLAGS=-Wall -g -D_GNU_SOURCE -DDEBUG_INIT 37 CFLAGS+=-Wall -g -D_GNU_SOURCE -DDEBUG_INIT
38 STRIP= 38 STRIP=
39 LDFLAGS= 39 LDFLAGS=
40else 40else
41 CFLAGS=-Wall -Os -fomit-frame-pointer -fno-builtin -D_GNU_SOURCE 41 CFLAGS+=-Wall -Os -fomit-frame-pointer -fno-builtin -D_GNU_SOURCE
42 LDFLAGS= -s 42 LDFLAGS= -s
43 STRIP= strip --remove-section=.note --remove-section=.comment $(PROG) 43 STRIP= strip --remove-section=.note --remove-section=.comment $(PROG)
44 #Only staticly link when _not_ debugging 44 #Only staticly link when _not_ debugging