mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
drbd-utils: needs -fcommon for gcc10
[ci skip]
This commit is contained in:
parent
3d505a0133
commit
40d1afc4fa
1 changed files with 13 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue