summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2021-12-14 13:34:49 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-12-14 21:30:30 -0800
commit19faca266aa99d0158a60bbdf4682b4023ab95b9 (patch)
tree9f28129dfe8e1f66cfbaa3a41422025885589465 /app-shells/ksh
parentapp-shells/ksh: bump to 1.0.0_beta1 (diff)
downloadgentoo-19faca266aa99d0158a60bbdf4682b4023ab95b9.tar.gz
gentoo-19faca266aa99d0158a60bbdf4682b4023ab95b9.tar.bz2
gentoo-19faca266aa99d0158a60bbdf4682b4023ab95b9.zip
app-shells/ksh: filter out -fdiagnostics-color=always
PR: https://github.com/gentoo/gentoo/pull/23012 Issue: https://github.com/ksh93/ksh/issues/379 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'app-shells/ksh')
-rw-r--r--app-shells/ksh/ksh-1.0.0_beta1.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/app-shells/ksh/ksh-1.0.0_beta1.ebuild b/app-shells/ksh/ksh-1.0.0_beta1.ebuild
index 2ef94ea8022c..367ed0231350 100644
--- a/app-shells/ksh/ksh-1.0.0_beta1.ebuild
+++ b/app-shells/ksh/ksh-1.0.0_beta1.ebuild
@@ -45,6 +45,7 @@ src_compile() {
"-P"
)
append-cflags $(test-flags-CC ${extraflags[@]})
+ filter-flags '-fdiagnostics-color=always' # https://github.com/ksh93/ksh/issues/379
export CCFLAGS="${CFLAGS} -fno-strict-aliasing"
tc-export AR CC LD NM