Cross-compiles need to use the target linker here.

p.

--- linux/drivers/net/Makefile~ Sun Apr  8 17:48:31 2001
+++ linux/drivers/net/Makefile  Sun Apr  8 19:31:29 2001
@@ -1445,7 +1445,7 @@
        rm -f core *.o *.a *.s
 
 wanpipe.o: $(WANPIPE_OBJS)
-       ld -r -o $@ $(WANPIPE_OBJS)
+       $(LD) -r -o $@ $(WANPIPE_OBJS)
 
 rcpci.o: rcpci45.o rclanmtl.o
        $(LD) -r -o rcpci.o rcpci45.o rclanmtl.o


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to