aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8a71beb94..1d52e1dcd 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@
18# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19# 19#
20 20
21# PROG := busybox 21PROG := busybox
22VERSION := 0.43 22VERSION := 0.43
23BUILDTIME := $(shell TZ=GMT date "+%Y%m%d-%H%M") 23BUILDTIME := $(shell TZ=GMT date "+%Y%m%d-%H%M")
24 24
@@ -77,7 +77,7 @@ ifeq ($(DODEBUG),true)
77else 77else
78 CFLAGS += -Wall $(OPTIMIZATION) -fomit-frame-pointer -fno-builtin -D_GNU_SOURCE 78 CFLAGS += -Wall $(OPTIMIZATION) -fomit-frame-pointer -fno-builtin -D_GNU_SOURCE
79 LDFLAGS = -s 79 LDFLAGS = -s
80 STRIP = $(STRIPTOOL) --remove-section=.note --remove-section=.comment 80 STRIP = $(STRIPTOOL) --remove-section=.note --remove-section=.comment $(PROG)
81 #Only staticly link when _not_ debugging 81 #Only staticly link when _not_ debugging
82 ifeq ($(DOSTATIC),true) 82 ifeq ($(DOSTATIC),true)
83 LDFLAGS += --static 83 LDFLAGS += --static
@@ -101,7 +101,7 @@ all: busybox busybox.links
101 101
102busybox: $(OBJECTS) 102busybox: $(OBJECTS)
103 $(CC) $(LDFLAGS) -o $@ $^ $(LIBRARIES) 103 $(CC) $(LDFLAGS) -o $@ $^ $(LIBRARIES)
104 $(STRIP) $@ 104 $(STRIP)
105 105
106busybox.links: busybox.def.h 106busybox.links: busybox.def.h
107 - ./busybox.mkll | sort >$@ 107 - ./busybox.mkll | sort >$@