summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Whitley2001-02-27 19:53:48 +0000
committerMark Whitley2001-02-27 19:53:48 +0000
commit4f76bb6f3e785f92d5d392013634ab3bb40cbdad (patch)
tree9539d399f8714012c0f54ee76bdb18eb8a7a112a
parent4142d4dc661c85b731c21b3296a04d1c5b5c3367 (diff)
downloadbusybox-4f76bb6f3e785f92d5d392013634ab3bb40cbdad.zip
busybox-4f76bb6f3e785f92d5d392013634ab3bb40cbdad.tar.gz
Little patchlet to make linking against libc5 work a little better
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ad1d9ad..8104897 100644
--- a/Makefile
+++ b/Makefile
@@ -88,9 +88,9 @@ STRIPTOOL = $(CROSS)strip
# To compile vs some other alternative libc, you may need to use/adjust
# the following lines to meet your needs...
-#LIBCDIR=/usr/i486-linuxlibc1/
+#LIBCDIR=/usr/i486-linuxlibc1
#LDFLAGS+=-nostdlib
-#LIBRARIES = $(LIBCDIR)/libc.a -lgcc
+#LIBRARIES = $(LIBCDIR)/lib/libc.a -lgcc
#CROSS_CFLAGS+=-nostdinc -I$(LIBCDIR)/include -I$(GCCINCDIR)
#GCCINCDIR = $(shell gcc -print-search-dirs | sed -ne "s/install: \(.*\)/\1include/gp")
@@ -291,7 +291,7 @@ busybox.links: busybox.mkll Config.h applets.h
nfsmount.o cmdedit.o: %.o: %.h
$(OBJECTS): %.o: %.c Config.h busybox.h applets.h Makefile
- $(CC) $(CFLAGS) -I- -I. $(patsubst %,-I%,$(subst :, ,$(BB_SRC_DIR))) -c $< -o $*.o
+ $(CC) -I- $(CFLAGS) -I. $(patsubst %,-I%,$(subst :, ,$(BB_SRC_DIR))) -c $< -o $*.o
$(PWD_OBJS): %.o: %.c Config.h busybox.h applets.h Makefile
- mkdir -p $(PWD_GRP)