From 0d228868595291962e65e367252ee97a2257f1e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 18 Aug 2020 02:48:31 +0200 Subject: [PATCH] libnih: needs -fcommon for gcc10 [ci skip] --- srcpkgs/libnih/template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template index 2e26993149..52ebfddc9b 100644 --- a/srcpkgs/libnih/template +++ b/srcpkgs/libnih/template @@ -15,6 +15,8 @@ homepage="https://github.com/keybuk/${pkgname}" distfiles="${homepage}/archive/${_commit}.tar.gz" checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c +CFLAGS="-fcommon" + if [ "$CROSS_BUILD" ]; then hostmakedepends+=" nih-devel" configure_args+=" NIH_DBUS_TOOL=/usr/bin/nih-dbus-tool"