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"