drbd-utils: needs -fcommon for gcc10

[ci skip]
This commit is contained in:
Jürgen Buchmüller 2020-08-18 17:24:49 +02:00
parent 3d505a0133
commit 40d1afc4fa
1 changed files with 13 additions and 11 deletions

View File

@ -5,17 +5,17 @@ revision=1
build_style=gnu-configure
build_helper="qemu"
configure_args="
--sbindir=/usr/bin \
--prefix=/usr \
--exec-prefix=/usr \
--libexecdir=/usr/libexec \
--with-distro=generic \
--with-bashcompletion \
--with-udev \
--without-rgmanager \
--without-pacemaker \
--without-heartbeat \
--without-83support \
--sbindir=/usr/bin
--prefix=/usr
--exec-prefix=/usr
--libexecdir=/usr/libexec
--with-distro=generic
--with-bashcompletion
--with-udev
--without-rgmanager
--without-pacemaker
--without-heartbeat
--without-83support
--without-xen"
conf_files="
/etc/drbd.conf
@ -41,6 +41,8 @@ if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" drbd-utils"
fi
CFLAGS="-fcommon"
pre_configure() {
sed -i 's#/lib/drbd#/usr/lib/drbd#' drbd.spec.in
NOCONFIGURE=1 ./autogen.sh