[PATCH] fix cross compilation

Joakim Tjernlund Joakim.Tjernlund at transmode.se
Fri Apr 23 09:52:22 CEST 2010


Make ./configure --host=powerpc-softfloat-linux-gnu use
the detected cross compiler to do incremental linking.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund at transmode.se>
---
 tools/Rules.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/Rules.in b/tools/Rules.in
index 79a15fa..e4598e2 100644
--- a/tools/Rules.in
+++ b/tools/Rules.in
@@ -66,7 +66,7 @@ else
 subdir: all.o
 
 all.o: $(objs)
-	$(LD) -r -o $@ $^
+	$(CC) -nostdlib  -Wl,-r -o $@ $^
 
 endif
 
-- 
1.6.4.4




More information about the Bird-users mailing list