|
|
| |
LICENSE="LGPL-2.1" | LICENSE="LGPL-2.1" |
SLOT="0" | SLOT="0" |
KEYWORDS="~hppa ~ppc ~x86" |
KEYWORDS="~hppa ~ppc ~x86 ~amd64" |
IUSE="static doc" | IUSE="static doc" |
| |
S=${WORKDIR}/${PN}_${PV} | S=${WORKDIR}/${PN}_${PV} |
|
|
-e "/^CXX=/s:gcc:$(tc-getCXX):" \ | -e "/^CXX=/s:gcc:$(tc-getCXX):" \ |
-e "/^CC=/s:gcc:$(tc-getCC):" \ | -e "/^CC=/s:gcc:$(tc-getCC):" \ |
-e "s:-O1 -s:${CXXFLAGS}:" \ | -e "s:-O1 -s:${CXXFLAGS}:" \ |
|
-e "s:-O -s:${CXXFLAGS}:" \ |
makefile* || die "cleaning up makefiles" | makefile* || die "cleaning up makefiles" |
|
# set up the right makefike |
|
use amd64 && cp -f makefile.linux_amd64 makefile.machine |
} | } |
| |
src_compile() { | src_compile() { |