Skip to content

Commit 9784aee

Browse files
committed
Disable debug info in qemu
Reduces the binary size from ~65MB to ~17MB. Signed-off-by: Joel Stanley <[email protected]>
1 parent 518e8f5 commit 9784aee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,6 +1125,7 @@ stamps/build-qemu: $(QEMU_SRCDIR) $(QEMU_SRC_GIT) $(PREPARATION_STAMP)
11251125
--prefix=$(INSTALL_DIR) \
11261126
--target-list=$(QEMU_TARGETS) \
11271127
--interp-prefix=$(INSTALL_DIR)/sysroot \
1128+
--disable-debug-info \
11281129
--python=python3
11291130
$(MAKE) -C $(notdir $@)
11301131
$(MAKE) -C $(notdir $@) install

0 commit comments

Comments
 (0)