summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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