mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
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:
parent
537b6d9d0a
commit
28b1e5d279
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
inherit flag-o-matic
|
inherit flag-o-matic toolchain-funcs
|
||||||
|
|
||||||
DESCRIPTION="Library of simple functions that are optimized for various CPUs"
|
DESCRIPTION="Library of simple functions that are optimized for various CPUs"
|
||||||
HOMEPAGE="https://liboil.freedesktop.org/"
|
HOMEPAGE="https://liboil.freedesktop.org/"
|
||||||
@ -49,8 +49,8 @@ src_configure() {
|
|||||||
# bug #931004
|
# bug #931004
|
||||||
filter-lto
|
filter-lto
|
||||||
|
|
||||||
# For use with Clang, which is the only compiler on OSX, bug #576646
|
# bug #576646
|
||||||
[[ ${CHOST} == *-darwin* ]] && append-flags -fheinous-gnu-extensions
|
tc-is-clang && append-flags -fheinous-gnu-extensions
|
||||||
|
|
||||||
default
|
default
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user