From 373d3dbe8dfbce21af72618c0f912dd0e23a6f3c Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Wed, 4 Aug 2010 13:53:52 +0200 Subject: [PATCH] Fixes build on Sparc. --- tools/Rules.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/Rules.in b/tools/Rules.in index e4598e21..fc06aeb1 100644 --- a/tools/Rules.in +++ b/tools/Rules.in @@ -66,7 +66,9 @@ else subdir: all.o all.o: $(objs) - $(CC) -nostdlib -Wl,-r -o $@ $^ +# $(LD) -r -o $@ $^ +# Changed to $(CC) because $(LD) has problems with crosscompiling + $(CC) -nostdlib -r -o $@ $^ endif