summaryrefslogtreecommitdiff
path: root/tools/Rules.in
diff options
context:
space:
mode:
Diffstat (limited to 'tools/Rules.in')
-rw-r--r--tools/Rules.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/Rules.in b/tools/Rules.in
index 79a15fac..e4598e21 100644
--- a/tools/Rules.in
+++ b/tools/Rules.in
@@ -66,7 +66,7 @@ else
subdir: all.o
all.o: $(objs)
- $(LD) -r -o $@ $^
+ $(CC) -nostdlib -Wl,-r -o $@ $^
endif