hnb: needs -fcommon for gcc10

[ci skip]
This commit is contained in:
Jürgen Buchmüller 2020-08-18 02:48:27 +02:00
parent 38fc4895d8
commit cf71db53b7
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
CFLAGS="-fcommon"
post_extract() {
sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile