diff options
author | Brian Evans <grknight@gentoo.org> | 2022-12-27 09:11:43 -0500 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2022-12-27 09:11:43 -0500 |
commit | 831e7bd103b23e933592b14b275d103d27625a41 (patch) | |
tree | 18c743118ececb93a7f839a784b9c13e4cabb07a /mail-client | |
parent | x11-themes/kvantum: add 1.0.7 (diff) | |
download | gentoo-831e7bd103b23e933592b14b275d103d27625a41.tar.gz gentoo-831e7bd103b23e933592b14b275d103d27625a41.tar.bz2 gentoo-831e7bd103b23e933592b14b275d103d27625a41.zip |
mail-client/s-nail: Fix building with certain CFLAGS
Filter out -O[0sg] with replacement of -O1
Closes: https://bugs.gentoo.org/860357
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'mail-client')
-rw-r--r-- | mail-client/s-nail/s-nail-14.9.24.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mail-client/s-nail/s-nail-14.9.24.ebuild b/mail-client/s-nail/s-nail-14.9.24.ebuild index 6d95aeba874e..34059f4f450e 100644 --- a/mail-client/s-nail/s-nail-14.9.24.ebuild +++ b/mail-client/s-nail/s-nail-14.9.24.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit toolchain-funcs +inherit toolchain-funcs flag-o-matic HOMEPAGE="https://www.sdaoden.eu/code.html" DESCRIPTION="Enhanced mailx-compatible mail client based on Heirloom mailx (nail)" @@ -33,9 +33,11 @@ BDEPEND=" " src_configure() { + # Fails to build without replace Bug 860357 + replace-flags -O[0gs] -O1 + append-cflags -std=c99 local confopts=( CC="$(tc-getCC)" - EXTRA_CFLAGS=-std=c99 strip=/bin/true OPT_AUTOCC=no VAL_PREFIX="${EPREFIX}"/usr |