]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Fixes build on Sparc.
authorOndrej Zajicek <santiago@crfreenet.org>
Wed, 4 Aug 2010 11:53:52 +0000 (13:53 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Wed, 4 Aug 2010 11:53:52 +0000 (13:53 +0200)
tools/Rules.in

index e4598e21283b030c788238b5d300189ff2adb122..fc06aeb1d04dcd87826841c6594543e7f970ad45 100644 (file)
@@ -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