summaryrefslogtreecommitdiff
path: root/net/bird-devel/files/patch-tools-Rules.in
diff options
context:
space:
mode:
Diffstat (limited to 'net/bird-devel/files/patch-tools-Rules.in')
-rw-r--r--net/bird-devel/files/patch-tools-Rules.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/bird-devel/files/patch-tools-Rules.in b/net/bird-devel/files/patch-tools-Rules.in
new file mode 100644
index 000000000000..cb7af39da430
--- /dev/null
+++ b/net/bird-devel/files/patch-tools-Rules.in
@@ -0,0 +1,13 @@
+--- tools/Rules.in.orig 2010-10-10 21:48:20.000000000 +0200
++++ tools/Rules.in 2010-12-18 15:00:27.000000000 +0100
+@@ -66,9 +66,7 @@
+ subdir: all.o
+
+ all.o: $(objs)
+-# $(LD) -r -o $@ $^
+-# Changed to $(CC) because $(LD) has problems with crosscompiling
+- $(CC) -nostdlib -r -o $@ $^
++ $(LD) -r -o $@ $^
+
+ endif
+