diff options
author | Mark Whitley <markw@lineo.com> | 2001-02-27 19:53:48 +0000 |
---|---|---|
committer | Mark Whitley <markw@lineo.com> | 2001-02-27 19:53:48 +0000 |
commit | 4f76bb6f3e785f92d5d392013634ab3bb40cbdad (patch) | |
tree | 9539d399f8714012c0f54ee76bdb18eb8a7a112a | |
parent | 4142d4dc661c85b731c21b3296a04d1c5b5c3367 (diff) | |
download | busybox-w32-4f76bb6f3e785f92d5d392013634ab3bb40cbdad.tar.gz busybox-w32-4f76bb6f3e785f92d5d392013634ab3bb40cbdad.tar.bz2 busybox-w32-4f76bb6f3e785f92d5d392013634ab3bb40cbdad.zip |
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 | |||
88 | 88 | ||
89 | # To compile vs some other alternative libc, you may need to use/adjust | 89 | # To compile vs some other alternative libc, you may need to use/adjust |
90 | # the following lines to meet your needs... | 90 | # the following lines to meet your needs... |
91 | #LIBCDIR=/usr/i486-linuxlibc1/ | 91 | #LIBCDIR=/usr/i486-linuxlibc1 |
92 | #LDFLAGS+=-nostdlib | 92 | #LDFLAGS+=-nostdlib |
93 | #LIBRARIES = $(LIBCDIR)/libc.a -lgcc | 93 | #LIBRARIES = $(LIBCDIR)/lib/libc.a -lgcc |
94 | #CROSS_CFLAGS+=-nostdinc -I$(LIBCDIR)/include -I$(GCCINCDIR) | 94 | #CROSS_CFLAGS+=-nostdinc -I$(LIBCDIR)/include -I$(GCCINCDIR) |
95 | #GCCINCDIR = $(shell gcc -print-search-dirs | sed -ne "s/install: \(.*\)/\1include/gp") | 95 | #GCCINCDIR = $(shell gcc -print-search-dirs | sed -ne "s/install: \(.*\)/\1include/gp") |
96 | 96 | ||
@@ -291,7 +291,7 @@ busybox.links: busybox.mkll Config.h applets.h | |||
291 | 291 | ||
292 | nfsmount.o cmdedit.o: %.o: %.h | 292 | nfsmount.o cmdedit.o: %.o: %.h |
293 | $(OBJECTS): %.o: %.c Config.h busybox.h applets.h Makefile | 293 | $(OBJECTS): %.o: %.c Config.h busybox.h applets.h Makefile |
294 | $(CC) $(CFLAGS) -I- -I. $(patsubst %,-I%,$(subst :, ,$(BB_SRC_DIR))) -c $< -o $*.o | 294 | $(CC) -I- $(CFLAGS) -I. $(patsubst %,-I%,$(subst :, ,$(BB_SRC_DIR))) -c $< -o $*.o |
295 | 295 | ||
296 | $(PWD_OBJS): %.o: %.c Config.h busybox.h applets.h Makefile | 296 | $(PWD_OBJS): %.o: %.c Config.h busybox.h applets.h Makefile |
297 | - mkdir -p $(PWD_GRP) | 297 | - mkdir -p $(PWD_GRP) |