summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 39b7374..a37f474 100644
--- a/Makefile
+++ b/Makefile
@@ -75,7 +75,7 @@ out/bootstrap: src/user/bootstrap/linker.ld \
$(call from_sources, src/user/lib/) \
$(call from_sources, src/shared/)
@mkdir -p $(@D)
- @$(CC) $(LFLAGS) -T $^ -o $@
+ @$(CC) $(LFLAGS) -Wl,-Map=% -T $^ -o $@
out/fs/boot/init: out/bootstrap out/initrd.tar
@mkdir -p $(@D)