diff --git a/srcpkgs/xfce4-sensors-plugin/template b/srcpkgs/xfce4-sensors-plugin/template index e64ec44d95a..392432f83c3 100644 --- a/srcpkgs/xfce4-sensors-plugin/template +++ b/srcpkgs/xfce4-sensors-plugin/template @@ -14,6 +14,8 @@ homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin" distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2" checksum=3dc6643d2c064b7718badff44b948f8d410f00f13db197820b26ae38045f5112 +CFLAGS="-fcommon" + if [ "$CROSS_BUILD" ]; then # Cannot detect these when cross compiling configure_args+=" --disable-procacpi --disable-sysfsacpi --disable-xnvctrl"