summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-misc/spe-samples/spe-samples-1.0.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/app-misc/spe-samples/spe-samples-1.0.ebuild b/app-misc/spe-samples/spe-samples-1.0.ebuild
index 0282957..0638df3 100644
--- a/app-misc/spe-samples/spe-samples-1.0.ebuild
+++ b/app-misc/spe-samples/spe-samples-1.0.ebuild
@@ -1,6 +1,7 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
+inherit libtool
DESCRIPTION="Cell SPE examples"
HOMEPAGE=""
@@ -21,12 +22,18 @@ src_unpack() {
# make sure it uses the right compiler.
sed -i -e "s:spu-gcc:spu-elf-gcc:g" ${S}/*/spe/configure*
# fixme: kill c++/fortran checks!
+ cd ${S}
+ elibtoolize
}
src_compile() {
# just to be sure
unset CFLAGS
unset CXXFLAGS
+ unset CFLAGS_ppc64
+ unset CFLAGS_ppc
+ unset LDFLAGS_ppc64
+ unset LDFLAGS_ppc
./configure --prefix=/usr || die "configure failed"
emake || die "build failed"
}