From 65a8d0f60119aa4a56fb984e8603c48e5e92906a Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Fri, 6 Sep 2019 16:30:03 +0200 Subject: [dnbd3-rootfs] fix compilation for ubuntu TODO check if still fine for centos --- builder/modules.d/dnbd3-rootfs/helper/build.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builder/modules.d/dnbd3-rootfs/helper/build.inc b/builder/modules.d/dnbd3-rootfs/helper/build.inc index 2e202d91..8f4b5011 100644 --- a/builder/modules.d/dnbd3-rootfs/helper/build.inc +++ b/builder/modules.d/dnbd3-rootfs/helper/build.inc @@ -112,11 +112,11 @@ build_compile_qemu_xmount() { [ ! -z "$2" ] && xmount_installation="$2" ./configure --enable-xmount-input --python="$(which python2)" \ --extra-cflags="-std=gnu99" \ + --disable-werror \ --extra-cflags="-fPIC" \ --extra-cflags="-I${xmount_installation}/include" \ --extra-cflags="-I${xmount_installation}/include/xmount" \ - --disable-fdt --target-list="" \ - --disable-werror + --disable-fdt --target-list="" make -j libxmount_input_qemu.so local ret=$? popd -- cgit v1.2.3-55-g7522