diff options
author | Mark Whitley | 2001-02-27 19:53:48 +0000 |
---|---|---|
committer | Mark Whitley | 2001-02-27 19:53:48 +0000 |
commit | 4f76bb6f3e785f92d5d392013634ab3bb40cbdad (patch) | |
tree | 9539d399f8714012c0f54ee76bdb18eb8a7a112a | |
parent | 4142d4dc661c85b731c21b3296a04d1c5b5c3367 (diff) | |
download | busybox-4f76bb6f3e785f92d5d392013634ab3bb40cbdad.zip busybox-4f76bb6f3e785f92d5d392013634ab3bb40cbdad.tar.gz |
Little patchlet to make linking against libc5 work a little better
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) |