summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorErik Andersen2000-05-02 00:07:56 +0000
committerErik Andersen2000-05-02 00:07:56 +0000
commit5afc864422e8c572a13b3e48df47fd0e56cfbb74 (patch)
tree5a6ec9054284616133cdea4b62efdcbaddd061f9 /Makefile
parent3c1217cfad0fb72f458223ae73e1ce612f5e9efd (diff)
downloadbusybox-5afc864422e8c572a13b3e48df47fd0e56cfbb74.zip
busybox-5afc864422e8c572a13b3e48df47fd0e56cfbb74.tar.gz
More stuff
-Erik
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 7a0752e..bf42e58 100644
--- a/Makefile
+++ b/Makefile
@@ -68,7 +68,8 @@ ifndef $(STRIPTOOL)
STRIPTOOL = strip
endif
-#also to try -- use --prefix=/usr/my-libc2.0.7-stuff
+# TODO: Try compiling vs other libcs. See what -nostdinc and -nostdlib do for that.
+# also try --prefix=/usr/my-libc-stuff
# -D_GNU_SOURCE is needed because environ is used in init.c
ifeq ($(DODEBUG),true)
@@ -78,8 +79,6 @@ ifeq ($(DODEBUG),true)
else
CFLAGS += -Wall $(OPTIMIZATION) -fomit-frame-pointer -fno-builtin -D_GNU_SOURCE
LDFLAGS = -s
- #CFLAGS += -nostdinc -I/home/andersen/apps/newlib/src/newlib/libc/include -Wall $(OPTIMIZATION) -fomit-frame-pointer -fno-builtin -D_GNU_SOURCE
- #LDFLAGS = -nostdlib -s -L/home/andersen/apps/newlib/src/newlib/libc.a
STRIP = $(STRIPTOOL) --remove-section=.note --remove-section=.comment $(PROG)
#Only staticly link when _not_ debugging
ifeq ($(DOSTATIC),true)