aboutsummaryrefslogtreecommitdiffstats
path: root/core/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'core/Makefile')
-rw-r--r--core/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Makefile b/core/Makefile
index 684e0484..8c675c26 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -79,7 +79,7 @@ kwdhash.gen: keywords genhash.pl
.PRECIOUS: %.elf
%.raw: %.elf
- $(OBJCOPY) -O binary $< $(@:.bin=.raw)
+ $(OBJCOPY) -O binary -S $< $(@:.bin=.raw)
%.bin: %.raw $(PREPCORE)
$(PREPCORE) $< $@
@@ -90,7 +90,7 @@ kwdhash.gen: keywords genhash.pl
-l $(@:.o=.lsr) -o $@ -MP -MD .$@.d $<
%.elf: %.o $(LIBDEP) syslinux.ld
- $(LD) $(LDFLAGS) -Bsymbolic -pie -E --hash-style=gnu -T syslinux.ld -M -o $@ $< \
+ $(LD) $(LDFLAGS) -s -Bsymbolic -pie -E --hash-style=gnu -T syslinux.ld -M -o $@ $< \
--start-group $(LIBS) --end-group \
> $(@:.elf=.map)
$(OBJDUMP) -h $@ > $(@:.elf=.sec)