mail-filter/rspamd: respect user compiler flags choice

The Toolset.cmake file seems to be unnecessary, it tries to control
flags which in Gentoo should be controlled by user. This applies a
change suggested in [1].

[1] https://bugs.gentoo.org/827550#c1

Closes: https://bugs.gentoo.org/827550
Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
Closes: https://github.com/gentoo/gentoo/pull/23127
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Petr Vaněk
2021-11-29 19:37:39 +01:00
committed by Sam James
parent f14cc9569d
commit 45c18da33f
2 changed files with 4 additions and 0 deletions

View File

@@ -68,6 +68,8 @@ src_prepare() {
rm -vrf contrib/{doctest,fmt,lua-bit,snowball,zstd} || die
> cmake/Toolset.cmake || die #827550
sed -i -e 's/User=_rspamd/User=rspamd/g' \
rspamd.service \
|| die

View File

@@ -68,6 +68,8 @@ src_prepare() {
rm -vrf contrib/{doctest,fmt,lua-bit,snowball,zstd} || die
> cmake/Toolset.cmake || die #827550
sed -i -e 's/User=_rspamd/User=rspamd/g' \
rspamd.service \
|| die