summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurice van der Pot <griffon26@gentoo.org>2008-08-13 20:29:40 +0000
committerMaurice van der Pot <griffon26@gentoo.org>2008-08-13 20:29:40 +0000
commit4b5ce2b9f82966a78fce8eac71944638c36eea53 (patch)
tree563338820cdc8c69208cde348adaae9279abad5b /dev-util/valgrind/valgrind-3.3.1.ebuild
parentRespect LDFLAGS, bug #181792 (diff)
downloadhistorical-4b5ce2b9f82966a78fce8eac71944638c36eea53.tar.gz
historical-4b5ce2b9f82966a78fce8eac71944638c36eea53.tar.bz2
historical-4b5ce2b9f82966a78fce8eac71944638c36eea53.zip
Fix error during compilation of tests for valgrind (bug #234644)
Package-Manager: portage-2.2_rc3/cvs/Linux 2.6.26 x86_64
Diffstat (limited to 'dev-util/valgrind/valgrind-3.3.1.ebuild')
-rw-r--r--dev-util/valgrind/valgrind-3.3.1.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-util/valgrind/valgrind-3.3.1.ebuild b/dev-util/valgrind/valgrind-3.3.1.ebuild
index d93b4ecd1702..0534a8cb63fe 100644
--- a/dev-util/valgrind/valgrind-3.3.1.ebuild
+++ b/dev-util/valgrind/valgrind-3.3.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.3.1.ebuild,v 1.2 2008/07/27 17:55:23 tester Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.3.1.ebuild,v 1.3 2008/08/13 20:29:40 griffon26 Exp $
inherit autotools eutils flag-o-matic toolchain-funcs
@@ -40,6 +40,10 @@ src_unpack() {
epatch "${FILESDIR}/valgrind-3.3.0-only64bit.patch"
fi
+ # Use local labels in inline asm to prevent 'symbol already defined' errors
+ # when optimisation is on (bug #234644).
+ epatch "${FILESDIR}/valgrind-3.3.1-local-labels.patch"
+
# Regenerate autotools files
eautoreconf
}