aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@riseup.net>2021-05-16 19:01:54 +0200
committerMaciej Barć <xgqt@riseup.net>2021-05-16 19:01:54 +0200
commitad8ef0521c3427dc449526b73b99c17403084404 (patch)
treeebe2855e290faddb921135cf7b0ed4773288d90c /dev-scheme/cyclone
parentdev-scheme/cyclone: fix compile phase (diff)
downloadguru-ad8ef0521c3427dc449526b73b99c17403084404.tar.gz
guru-ad8ef0521c3427dc449526b73b99c17403084404.tar.bz2
guru-ad8ef0521c3427dc449526b73b99c17403084404.zip
dev-scheme/cyclone: properly setup CYC_GCC_OPT_FLAGS
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Maciej Barć <xgqt@riseup.net>
Diffstat (limited to 'dev-scheme/cyclone')
-rw-r--r--dev-scheme/cyclone/cyclone-0.28.0.ebuild3
-rw-r--r--dev-scheme/cyclone/cyclone-9999.ebuild3
2 files changed, 4 insertions, 2 deletions
diff --git a/dev-scheme/cyclone/cyclone-0.28.0.ebuild b/dev-scheme/cyclone/cyclone-0.28.0.ebuild
index 59b3cc18e..1768c08d8 100644
--- a/dev-scheme/cyclone/cyclone-0.28.0.ebuild
+++ b/dev-scheme/cyclone/cyclone-0.28.0.ebuild
@@ -31,6 +31,7 @@ RDEPEND="
"
src_configure() {
+ export CYC_GCC_OPT_FLAGS="${CFLAGS}"
append-cflags -fPIC -rdynamic -Iinclude
append-ldflags -L. -Wl,--export-dynamic
tc-export AR CC RANLIB
@@ -41,7 +42,7 @@ src_test() {
}
src_compile() {
- emake AR="$(tc-getAR)" CC="$(tc-getCC)" CYC_GCC_OPT_FLAGS="${CFLAGS}"
+ emake AR="$(tc-getAR)" CC="$(tc-getCC)" CYC_GCC_OPT_FLAGS="${CYC_GCC_OPT_FLAGS}"
}
src_install() {
diff --git a/dev-scheme/cyclone/cyclone-9999.ebuild b/dev-scheme/cyclone/cyclone-9999.ebuild
index 59b3cc18e..1768c08d8 100644
--- a/dev-scheme/cyclone/cyclone-9999.ebuild
+++ b/dev-scheme/cyclone/cyclone-9999.ebuild
@@ -31,6 +31,7 @@ RDEPEND="
"
src_configure() {
+ export CYC_GCC_OPT_FLAGS="${CFLAGS}"
append-cflags -fPIC -rdynamic -Iinclude
append-ldflags -L. -Wl,--export-dynamic
tc-export AR CC RANLIB
@@ -41,7 +42,7 @@ src_test() {
}
src_compile() {
- emake AR="$(tc-getAR)" CC="$(tc-getCC)" CYC_GCC_OPT_FLAGS="${CFLAGS}"
+ emake AR="$(tc-getAR)" CC="$(tc-getCC)" CYC_GCC_OPT_FLAGS="${CYC_GCC_OPT_FLAGS}"
}
src_install() {