aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorerik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-05-02 00:07:56 +0000
committererik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-05-02 00:07:56 +0000
commita11ca391a91b1bf925bebc4d5155864aa48001d1 (patch)
tree5a6ec9054284616133cdea4b62efdcbaddd061f9 /Makefile
parentb986c35d6d81bb6c0314c8ee7fa9f61734845bf3 (diff)
downloadbusybox-w32-a11ca391a91b1bf925bebc4d5155864aa48001d1.tar.gz
busybox-w32-a11ca391a91b1bf925bebc4d5155864aa48001d1.tar.bz2
busybox-w32-a11ca391a91b1bf925bebc4d5155864aa48001d1.zip
More stuff
-Erik git-svn-id: svn://busybox.net/trunk/busybox@515 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 7a0752e58..bf42e585c 100644
--- a/Makefile
+++ b/Makefile
@@ -68,7 +68,8 @@ ifndef $(STRIPTOOL)
68 STRIPTOOL = strip 68 STRIPTOOL = strip
69endif 69endif
70 70
71#also to try -- use --prefix=/usr/my-libc2.0.7-stuff 71# TODO: Try compiling vs other libcs. See what -nostdinc and -nostdlib do for that.
72# also try --prefix=/usr/my-libc-stuff
72 73
73# -D_GNU_SOURCE is needed because environ is used in init.c 74# -D_GNU_SOURCE is needed because environ is used in init.c
74ifeq ($(DODEBUG),true) 75ifeq ($(DODEBUG),true)
@@ -78,8 +79,6 @@ ifeq ($(DODEBUG),true)
78else 79else
79 CFLAGS += -Wall $(OPTIMIZATION) -fomit-frame-pointer -fno-builtin -D_GNU_SOURCE 80 CFLAGS += -Wall $(OPTIMIZATION) -fomit-frame-pointer -fno-builtin -D_GNU_SOURCE
80 LDFLAGS = -s 81 LDFLAGS = -s
81 #CFLAGS += -nostdinc -I/home/andersen/apps/newlib/src/newlib/libc/include -Wall $(OPTIMIZATION) -fomit-frame-pointer -fno-builtin -D_GNU_SOURCE
82 #LDFLAGS = -nostdlib -s -L/home/andersen/apps/newlib/src/newlib/libc.a
83 STRIP = $(STRIPTOOL) --remove-section=.note --remove-section=.comment $(PROG) 82 STRIP = $(STRIPTOOL) --remove-section=.note --remove-section=.comment $(PROG)
84 #Only staticly link when _not_ debugging 83 #Only staticly link when _not_ debugging
85 ifeq ($(DOSTATIC),true) 84 ifeq ($(DOSTATIC),true)