diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-05-02 00:07:56 +0000 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-05-02 00:07:56 +0000 |
commit | 5afc864422e8c572a13b3e48df47fd0e56cfbb74 (patch) | |
tree | 5a6ec9054284616133cdea4b62efdcbaddd061f9 /Makefile | |
parent | 3c1217cfad0fb72f458223ae73e1ce612f5e9efd (diff) | |
download | busybox-w32-5afc864422e8c572a13b3e48df47fd0e56cfbb74.tar.gz busybox-w32-5afc864422e8c572a13b3e48df47fd0e56cfbb74.tar.bz2 busybox-w32-5afc864422e8c572a13b3e48df47fd0e56cfbb74.zip |
More stuff
-Erik
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -68,7 +68,8 @@ ifndef $(STRIPTOOL) | |||
68 | STRIPTOOL = strip | 68 | STRIPTOOL = strip |
69 | endif | 69 | endif |
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 |
74 | ifeq ($(DODEBUG),true) | 75 | ifeq ($(DODEBUG),true) |
@@ -78,8 +79,6 @@ ifeq ($(DODEBUG),true) | |||
78 | else | 79 | else |
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) |