diff options
author | Akinori Hattori <hattya@gentoo.org> | 2021-11-20 00:50:33 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2021-11-20 00:50:33 +0900 |
commit | 3d150b1f2998acf6ecf14b0856179d91ee0e7c0d (patch) | |
tree | d90628ac7345ad204da81a5afe78842403784ee4 /dev-scheme/chicken | |
parent | dev-scheme/chicken: respect CFLAGS (diff) | |
download | gentoo-3d150b1f2998acf6ecf14b0856179d91ee0e7c0d.tar.gz gentoo-3d150b1f2998acf6ecf14b0856179d91ee0e7c0d.tar.bz2 gentoo-3d150b1f2998acf6ecf14b0856179d91ee0e7c0d.zip |
dev-scheme/chicken: respect LDFLAGS
Closes: https://bugs.gentoo.org/824934
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'dev-scheme/chicken')
-rw-r--r-- | dev-scheme/chicken/chicken-5.2.0.ebuild | 2 | ||||
-rw-r--r-- | dev-scheme/chicken/files/chicken-ldflags.patch | 11 |
2 files changed, 13 insertions, 0 deletions
diff --git a/dev-scheme/chicken/chicken-5.2.0.ebuild b/dev-scheme/chicken/chicken-5.2.0.ebuild index 0cc432c1fbe5..1b2a5a137432 100644 --- a/dev-scheme/chicken/chicken-5.2.0.ebuild +++ b/dev-scheme/chicken/chicken-5.2.0.ebuild @@ -17,6 +17,8 @@ IUSE="doc" RDEPEND="" DEPEND="" +PATCHES=( "${FILESDIR}"/${PN}-ldflags.patch ) + src_prepare() { default diff --git a/dev-scheme/chicken/files/chicken-ldflags.patch b/dev-scheme/chicken/files/chicken-ldflags.patch new file mode 100644 index 000000000000..4523526e44a4 --- /dev/null +++ b/dev-scheme/chicken/files/chicken-ldflags.patch @@ -0,0 +1,11 @@ +--- a/rules.make ++++ b/rules.make +@@ -253,7 +253,7 @@ + # "chicken-do" + + $(CHICKEN_DO_PROGRAM)$(EXE): $(SRCDIR)chicken-do.c +- $(C_COMPILER) $(C_COMPILER_OPTIONS) $(C_COMPILER_OPTIMIZATION_OPTIONS) $< -o $@ ++ $(C_COMPILER) $(C_COMPILER_OPTIONS) $(C_COMPILER_OPTIMIZATION_OPTIONS) $(LINKER_OPTIONS) $< -o $@ + + # scripts + |