summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-07-22 20:37:32 +0000
committerMike Frysinger <vapier@gentoo.org>2012-07-22 20:37:32 +0000
commitba45422c2fd0ddb10cd5c0ce38128b22d4afe6b8 (patch)
treeb65067aba5816fc4549a0f8181fae2a3bb4bfbc2 /sys-devel/prelink
parentVersion bump. (diff)
downloadgentoo-2-ba45422c2fd0ddb10cd5c0ce38128b22d4afe6b8.tar.gz
gentoo-2-ba45422c2fd0ddb10cd5c0ce38128b22d4afe6b8.tar.bz2
gentoo-2-ba45422c2fd0ddb10cd5c0ce38128b22d4afe6b8.zip
Link against pthreads when elfutils is built with USE=threads #427538 by argonovsky.
(Portage version: 2.2.0_alpha116/cvs/Linux x86_64)
Diffstat (limited to 'sys-devel/prelink')
-rw-r--r--sys-devel/prelink/ChangeLog6
-rw-r--r--sys-devel/prelink/prelink-20111012.ebuild3
2 files changed, 7 insertions, 2 deletions
diff --git a/sys-devel/prelink/ChangeLog b/sys-devel/prelink/ChangeLog
index 6a5decbfb9f9..3200b8c84307 100644
--- a/sys-devel/prelink/ChangeLog
+++ b/sys-devel/prelink/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-devel/prelink
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/ChangeLog,v 1.87 2012/07/20 17:31:19 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/ChangeLog,v 1.88 2012/07/22 20:37:32 vapier Exp $
+
+ 22 Jul 2012; Mike Frysinger <vapier@gentoo.org> prelink-20111012.ebuild:
+ Link against pthreads when elfutils is built with USE=threads #427538 by
+ argonovsky.
20 Jul 2012; Mike Frysinger <vapier@gentoo.org> prelink-20110511.ebuild,
prelink-20111012.ebuild:
diff --git a/sys-devel/prelink/prelink-20111012.ebuild b/sys-devel/prelink/prelink-20111012.ebuild
index 9065722bf1ee..7c6a5b2bfa6b 100644
--- a/sys-devel/prelink/prelink-20111012.ebuild
+++ b/sys-devel/prelink/prelink-20111012.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/prelink-20111012.ebuild,v 1.3 2012/07/20 17:31:19 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/prelink-20111012.ebuild,v 1.4 2012/07/22 20:37:32 vapier Exp $
EAPI="4"
@@ -44,6 +44,7 @@ src_prepare() {
-e '/CXXLINK=/s:\(CXXLINK="$(CXX)\):\1 -Wl,--add-needed :' \
testsuite/Makefile.in
+ has_version 'dev-libs/elfutils[threads]' && append-ldflags -pthread
# older GCCs don't support this flag
sed -i -e 's:-Wno-pointer-sign::' src/Makefile.in #325269
append-cflags -Wno-pointer-sign