xfce4-sensors-plugin: needs -fcommon for gcc10

[ci skip]
This commit is contained in:
Jürgen Buchmüller 2020-08-19 14:19:23 +02:00
parent 584fad7234
commit 85e4081fc0

View file

@ -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"