summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/dragonegg/dragonegg-3.4.ebuild')
-rw-r--r--sys-devel/dragonegg/dragonegg-3.4.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys-devel/dragonegg/dragonegg-3.4.ebuild b/sys-devel/dragonegg/dragonegg-3.4.ebuild
index e18ba5fcf517..4f01474f1853 100644
--- a/sys-devel/dragonegg/dragonegg-3.4.ebuild
+++ b/sys-devel/dragonegg/dragonegg-3.4.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/dragonegg/dragonegg-3.4.ebuild,v 1.2 2014/05/11 08:17:58 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/dragonegg/dragonegg-3.4.ebuild,v 1.3 2014/06/25 17:41:10 voyageur Exp $
EAPI=5
-inherit multilib toolchain-funcs
+inherit eutils multilib toolchain-funcs
DESCRIPTION="GCC plugin that uses LLVM for optimization and code generation"
HOMEPAGE="http://dragonegg.llvm.org/"
@@ -20,6 +20,10 @@ DEPEND="|| ( sys-devel/gcc:4.5[lto]
=sys-devel/llvm-${PV}*"
RDEPEND="${DEPEND}"
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-gcc-4.8.patch
+}
+
src_compile() {
# GCC: compiler to use plugin with
emake CC="$(tc-getCC)" GCC="$(tc-getCC)" CXX="$(tc-getCXX)" VERBOSE=1