hnb: needs -fcommon for gcc10
[ci skip]
This commit is contained in:
parent
38fc4895d8
commit
cf71db53b7
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,8 @@ homepage="http://hnb.sourceforge.net/"
|
||||||
distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
|
distfiles="${SOURCEFORGE_SITE}/hnb/hnb/${version}/hnb-${version}.tar.gz"
|
||||||
checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
|
checksum=c233c00aaef5b7fb93759d7888c885f99f40aec689a7f3e0d5d8b5797bf80cd4
|
||||||
|
|
||||||
|
CFLAGS="-fcommon"
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
|
sed -i '/CFLAGS *=/s/$/ $(CCFLAGS)/' src/Makefile src/libcli/Makefile
|
||||||
sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile
|
sed -i '/LIBS=/s/$/ $(LDFLAGS)/' src/Makefile
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue