Blame SOURCES/build_configure.sh

b11fdf
#!/bin/sh
b11fdf
b11fdf
_prefix=$1
b11fdf
shift
b11fdf
_libdir=$1
b11fdf
shift
b11fdf
_sysconfdir=$1
b11fdf
shift
b11fdf
_localstatedir=$1
b11fdf
shift
b11fdf
_libexecdir=$1
b11fdf
shift
b11fdf
pkgname=$1
b11fdf
shift
b11fdf
arch=$1
b11fdf
shift
b11fdf
nvr=$1
b11fdf
shift
b11fdf
optflags=$1
b11fdf
shift
b11fdf
have_fdt=$1
b11fdf
shift
b11fdf
have_tcmalloc=$1
b11fdf
shift
b11fdf
b11fdf
./configure \
b11fdf
    --prefix=${_prefix} \
b11fdf
    --libdir=${_libdir} \
b11fdf
    --sysconfdir=${_sysconfdir} \
b11fdf
    --interp-prefix=${_prefix}/qemu-%M \
b11fdf
    --localstatedir=${_localstatedir} \
b11fdf
    --libexecdir=${_libexecdir} \
b11fdf
    --extra-ldflags="$extraldflags -pie -Wl,-z,relro -Wl,-z,now" \
b11fdf
    --extra-cflags="${optflags} -fPIE -DPIE" \
b11fdf
    --with-pkgversion=${nvr} \
b11fdf
    --with-confsuffix=/${pkgname} \
b11fdf
    --with-coroutine=ucontext \
b11fdf
    --disable-bluez \
b11fdf
    --disable-brlapi \
b11fdf
    --disable-cap-ng \
b11fdf
    --enable-coroutine-pool \
b11fdf
    --disable-curl \
b11fdf
    --disable-curses \
b11fdf
    --disable-debug-tcg \
b11fdf
    --enable-docs \
b11fdf
    --disable-gtk \
b11fdf
    --enable-kvm \
b11fdf
    --disable-libiscsi \
b11fdf
    --disable-libnfs \
b11fdf
    --disable-libssh2 \
b11fdf
    --disable-libusb \
b11fdf
    --disable-bzip2 \
b11fdf
    --disable-linux-aio \
b11fdf
    --disable-lzo \
b11fdf
    --disable-opengl \
b11fdf
    --enable-pie \
b11fdf
    --disable-qom-cast-debug \
b11fdf
    --disable-sdl \
b11fdf
    --disable-smartcard \
b11fdf
    --disable-snappy \
b11fdf
    --disable-sparse \
b11fdf
    --disable-strip \
b11fdf
    --disable-tpm \
b11fdf
    --enable-trace-backend=dtrace \
b11fdf
    --disable-vde \
b11fdf
    --disable-vhdx \
b11fdf
    --disable-vhost-scsi \
b11fdf
    --disable-virtfs \
b11fdf
    --disable-vnc-jpeg \
b11fdf
    --disable-vte \
b11fdf
    --disable-vnc-png \
b11fdf
    --disable-vnc-sasl \
b11fdf
    --enable-werror \
b11fdf
    --disable-xen \
b11fdf
    --disable-xfsctl \
b11fdf
    --${have_fdt}-fdt \
b11fdf
    --disable-glusterfs \
b11fdf
    --enable-guest-agent \
b11fdf
    --disable-numa \
b11fdf
    --disable-rbd \
b11fdf
    --disable-rdma \
b11fdf
    --disable-seccomp \
b11fdf
    --disable-spice \
b11fdf
    --disable-usb-redir \
b11fdf
    --${have_tcmalloc}-tcmalloc \
b11fdf
    --disable-system \
b11fdf
    --disable-tools \
b11fdf
    "$@"