Skip to content

Commit fdad84e

Browse files
Joel Stanleyshenki
authored andcommitted
Disable debug info in qemu
Reduces the binary size from ~65MB to ~17MB. Signed-off-by: Joel Stanley <joel@tenstorrent.com>
1 parent ea385b2 commit fdad84e

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
@@ -938,6 +938,7 @@ stamps/build-qemu: $(QEMU_SRCDIR) $(QEMU_SRC_GIT) $(PREPARATION_STAMP)
938938
--prefix=$(INSTALL_DIR) \
939939
--target-list=$(QEMU_TARGETS) \
940940
--interp-prefix=$(INSTALL_DIR)/sysroot \
941+
--disable-debug-info \
941942
--python=python3
942943
$(MAKE) -C $(notdir $@)
943944
$(MAKE) -C $(notdir $@) install

0 commit comments

Comments
 (0)