diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
36 | ifeq ($(DODEBUG),true) | 36 | ifeq ($(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= |
40 | else | 40 | else |
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 |