suricata: needs -fcommon for gcc10

[ci skip]
This commit is contained in:
Jürgen Buchmüller 2020-08-18 02:48:45 +02:00
parent 3f43a3c08f
commit ffbdf7a7d2

View file

@ -32,6 +32,8 @@ fi
system_accounts="$pkgname"
conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
CFLAGS="-fcommon"
post_build() {
sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
sed -i "s|# user: suri| user: $pkgname|g" $pkgname.yaml