commit:     a8ba9d20964964e7b382027794f8dfe4fdb7a30c
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 13 15:56:51 2018 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sat Jan 13 16:00:07 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8ba9d20

eclass/toolchain-glibc.eclass: filter out rpath LDFLAGS

  glibc aborts if rpath is set.

 eclass/toolchain-glibc.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/toolchain-glibc.eclass b/eclass/toolchain-glibc.eclass
index bea0299d3de..f58b44bcfff 100644
--- a/eclass/toolchain-glibc.eclass
+++ b/eclass/toolchain-glibc.eclass
@@ -227,6 +227,7 @@ setup_flags() {
        strip-flags
        strip-unsupported-flags
        filter-flags -m32 -m64 -mabi=*
+       filter-ldflags -Wl,-rpath=*
 
        # Bug 492892.
        filter-flags -frecord-gcc-switches

Reply via email to