[uClibc-cvs] uClibc/libc Makefile,1.27,1.28
Erik Andersen
andersen at uclibc.org
Thu Sep 11 11:12:58 UTC 2003
Update of /var/cvs/uClibc/libc
In directory winder:/tmp/cvs-serv20067
Modified Files:
Makefile
Log Message:
Peter Kjellerstedt writes:
The attached patch allows $(CC) to contain spaces
(something which we use).
Index: Makefile
===================================================================
RCS file: /var/cvs/uClibc/libc/Makefile,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- Makefile 5 Jun 2003 21:25:53 -0000 1.27
+++ Makefile 11 Sep 2003 11:12:55 -0000 1.28
@@ -31,9 +31,9 @@
include $(TOPDIR)Rules.mak
ifeq ($(strip $(UCLIBC_CTOR_DTOR)),y)
-CRTOBJS="../../lib/crti.o ../../lib/crt0.o ../../lib/crtn.o"
+CRTOBJS=../../lib/crti.o ../../lib/crt0.o ../../lib/crtn.o
else
-CRTOBJS="../../lib/crt0.o"
+CRTOBJS=../../lib/crt0.o
endif
ifeq ($(strip $(ADD_LIBGCC_FUNCTIONS)),y)
@@ -76,9 +76,8 @@
@rm -rf tmp
@mkdir tmp
$(AR) rv $@
- (cd tmp && CC=$(CC) LD=$(LD) LDFLAGS=$(CPU_LDFLAGS-y) NM=$(NM) AR=$(AR) \
- LIBGCC=$(LIBGCC) \
- CRTOBJS=$(CRTOBJS) \
+ (cd tmp && CC="$(CC)" LD="$(LD)" LDFLAGS="$(CPU_LDFLAGS-y)" \
+ NM="$(NM)" AR="$(AR)" LIBGCC="$(LIBGCC)" CRTOBJS="$(CRTOBJS)" \
/bin/sh $(TOPDIR)../extra/scripts/get-needed-libgcc-objects.sh)
halfclean:
More information about the uClibc-cvs
mailing list