summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2ec85fe9..e5bd1741 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ exec bootexec: exec_machdep.o
exec: transexec.o
bootexec: bootexec.o exec.o
- $(LD) $(LDFLAGS) -r -o $@ $^
+ $(LD) -X $(LDFLAGS) -r -o $@ $^
$(serversdir)/core: core.text $(hurddir)/core
@rm -f $@
@@ -20,3 +20,5 @@ $(serversdir)/core: core.text $(hurddir)/core
$(serversdir)/exec: exec.text
@rm -f $@
cp $< $@
+# Comment the next line out to use bootexec.
+# settrans $(word 2,$^) $@