]>
Commit | Line | Data |
---|---|---|
b661333e MT |
1 | Fix for https://bugs.debian.org/846679 : syslinux: FTBFS: ld: |
2 | ldlinux.elf: Not enough room for program headers, try linking with -N | |
3 | ||
4 | --- a/core/Makefile 2017-01-28 18:33:22.750959519 +0000 | |
5 | +++ b/core/Makefile 2017-01-28 18:27:47.387981830 +0000 | |
6 | @@ -165,7 +165,7 @@ | |
7 | ||
8 | %.elf: %.o $(LIBDEP) $(LDSCRIPT) $(AUXLIBS) | |
9 | $(LD) $(LDFLAGS) -Bsymbolic $(LD_PIE) -E --hash-style=gnu -T $(LDSCRIPT) -M -o $@ $< \ | |
10 | - --start-group $(LIBS) $(subst $(*F).elf,lib$(*F).a,$@) --end-group \ | |
11 | + --start-group $(LIBS) $(subst $(*F).elf,lib$(*F).a,$@) --end-group --no-dynamic-linker \ | |
12 | > $(@:.elf=.map) | |
13 | $(OBJDUMP) -h $@ > $(@:.elf=.sec) | |
14 | $(PERL) $(SRC)/lstadjust.pl $(@:.elf=.lsr) $(@:.elf=.sec) $(@:.elf=.lst) |