Skip to content

Commit 038e921

Browse files
committed
Disable -Werror when building qemu
When building the system versions of qemu, there are some warnings which terminate the build if this flag is used. Disable it until qemu upstream fixes the problem. Signed-off-by: Keith Packard <keithp@keithp.com>
1 parent f7bd6ae commit 038e921

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,8 @@ stamps/build-qemu: $(QEMU_SRCDIR) $(QEMU_SRC_GIT)
861861
--prefix=$(INSTALL_DIR) \
862862
--target-list=$(QEMU_TARGETS) \
863863
--interp-prefix=$(INSTALL_DIR)/sysroot \
864-
--python=python3
864+
--python=python3 \
865+
--disable-werror
865866
$(MAKE) -C $(notdir $@)
866867
$(MAKE) -C $(notdir $@) install
867868
mkdir -p $(dir $@)

0 commit comments

Comments
 (0)