dev-libs/liboil: extend Darwin fix to generic Clang fix

Closes: https://bugs.gentoo.org/576646
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
This commit is contained in:
Fabian Groffen 2025-12-19 19:07:12 +01:00
parent 537b6d9d0a
commit 28b1e5d279
No known key found for this signature in database
GPG Key ID: CE95DA854E444293

View File

@ -3,7 +3,7 @@
EAPI=8
inherit flag-o-matic
inherit flag-o-matic toolchain-funcs
DESCRIPTION="Library of simple functions that are optimized for various CPUs"
HOMEPAGE="https://liboil.freedesktop.org/"
@ -49,8 +49,8 @@ src_configure() {
# bug #931004
filter-lto
# For use with Clang, which is the only compiler on OSX, bug #576646
[[ ${CHOST} == *-darwin* ]] && append-flags -fheinous-gnu-extensions
# bug #576646
tc-is-clang && append-flags -fheinous-gnu-extensions
default
}