summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-08-04 13:53:52 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2010-10-04 20:09:09 +0200
commit7a9aeb8f601c22f16cf14113d447eeacfa14f322 (patch)
treeb28ee2a33c478754cd570e967017e9bc11814d4a
parentbf5aa0d17cd9a96b22397d5d2dd7c03197838067 (diff)
Fixes build on Sparc.
-rw-r--r--tools/Rules.in4
1 files changed, 3 insertions, 1 deletions
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