commit: 6a69b3e830e0d0b8ee698bbd662c82b84401721b
parent: 481eb56aa2a58db59ab376684e68e74f54861d5f
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 14 Feb 2020 18:06:43 +0100
sys-libs/gcompat: Filter out -Wl,--as-needed
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sys-libs/gcompat/gcompat-0.4.0.ebuild b/sys-libs/gcompat/gcompat-0.4.0.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit multilib-minimal
+inherit multilib-minimal flag-o-matic
DESCRIPTION="The GNU C Library compatibility layer for musl"
HOMEPAGE="https://code.foxkit.us/adelie/gcompat"
@@ -38,6 +38,8 @@ get_linker_path() {
}
src_compile() {
+ filter-flags "-Wl,--as-needed"
+
emake \
LINKER_PATH="$(get_linker_path)" \
LOADER_NAME="$(get_loader_name)" \