suricata: needs -fcommon for gcc10
[ci skip]
This commit is contained in:
parent
3f43a3c08f
commit
ffbdf7a7d2
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,8 @@ fi
|
||||||
system_accounts="$pkgname"
|
system_accounts="$pkgname"
|
||||||
conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
|
conf_files="/etc/${pkgname}/*.* /etc/${pkgname}/rules/*"
|
||||||
|
|
||||||
|
CFLAGS="-fcommon"
|
||||||
|
|
||||||
post_build() {
|
post_build() {
|
||||||
sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
|
sed -i 's|#run-as:|run-as:|g' $pkgname.yaml
|
||||||
sed -i "s|# user: suri| user: $pkgname|g" $pkgname.yaml
|
sed -i "s|# user: suri| user: $pkgname|g" $pkgname.yaml
|
||||||
|
|
Loading…
Reference in a new issue