summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-08-04 13:53:52 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2010-08-04 13:53:52 +0200
commit373d3dbe8dfbce21af72618c0f912dd0e23a6f3c (patch)
tree4f506574a758eddabd9a26b02318aa6bf0be9e4e /tools
parent946dc15c928d9a48cdcc857bc80f4fabf9a4e2bf (diff)
downloadbird-373d3dbe8dfbce21af72618c0f912dd0e23a6f3c.tar
bird-373d3dbe8dfbce21af72618c0f912dd0e23a6f3c.zip
Fixes build on Sparc.
Diffstat (limited to 'tools')
-rw-r--r--tools/Rules.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/Rules.in b/tools/Rules.in
index e4598e2..fc06aeb 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