summaryrefslogtreecommitdiff
path: root/dos
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-11-11 16:29:53 -0800
committerH. Peter Anvin <hpa@zytor.com>2009-11-11 16:29:53 -0800
commit6ee958bf9f830b59fd10d3a83c0fa1d5f30d4809 (patch)
tree87168fe770355bc820f253883fbbadf549da350d /dos
parentcbc7af0a4246fd5caad90ed3a6812a8f227e87c5 (diff)
downloadsyslinux-6ee958bf9f830b59fd10d3a83c0fa1d5f30d4809.tar.gz
dos: don't add the linker script twice on the ld command line
My version of the linker can deal with it, but others might not be so smart. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'dos')
-rw-r--r--dos/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/dos/Makefile b/dos/Makefile
index 2f1b7981..6d87d64a 100644
--- a/dos/Makefile
+++ b/dos/Makefile
@@ -50,7 +50,7 @@ spotless: clean
installer:
syslinux.elf: $(OBJS) libcom.a com16.ld
- $(LD) $(LDFLAGS) -o $@ $^
+ $(LD) $(LDFLAGS) -o $@ $(filter-out %.ld,$^)
libcom.a: $(LIBOBJS)
-rm -f $@