mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
dev-scheme/cyclone: fix compile phase
Closes: https://bugs.gentoo.org/790548 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Maciej Barć <xgqt@riseup.net>
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Scheme R7RS to C compiler"
|
||||
HOMEPAGE="http://justinethier.github.io/cyclone/"
|
||||
@@ -33,13 +33,17 @@ RDEPEND="
|
||||
src_configure() {
|
||||
append-cflags -fPIC -rdynamic -Iinclude
|
||||
append-ldflags -L. -Wl,--export-dynamic
|
||||
tc-export CC
|
||||
tc-export AR CC RANLIB
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test LDFLAGS=""
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)" CC="$(tc-getCC)" CYC_GCC_OPT_FLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Scheme R7RS to C compiler"
|
||||
HOMEPAGE="http://justinethier.github.io/cyclone/"
|
||||
@@ -33,13 +33,17 @@ RDEPEND="
|
||||
src_configure() {
|
||||
append-cflags -fPIC -rdynamic -Iinclude
|
||||
append-ldflags -L. -Wl,--export-dynamic
|
||||
tc-export CC
|
||||
tc-export AR CC RANLIB
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test LDFLAGS=""
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)" CC="$(tc-getCC)" CYC_GCC_OPT_FLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user