From 40d1afc4fa97edf5c2731806b09be0482a249f4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 18 Aug 2020 17:24:49 +0200 Subject: [PATCH] drbd-utils: needs -fcommon for gcc10 [ci skip] --- srcpkgs/drbd-utils/template | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template index c53334a9200..10574a2bee1 100644 --- a/srcpkgs/drbd-utils/template +++ b/srcpkgs/drbd-utils/template @@ -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