commit: 270ab7dc299f649b2bab7339c8eb4a169d901060 Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> AuthorDate: Sun Apr 25 12:20:45 2021 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Sun Apr 25 12:20:45 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=270ab7dc
games-board/rmahjong: fix passing system LDFLAGS Closes: https://bugs.gentoo.org/785526 Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru> games-board/rmahjong/rmahjong-0.4_p20201106.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/games-board/rmahjong/rmahjong-0.4_p20201106.ebuild b/games-board/rmahjong/rmahjong-0.4_p20201106.ebuild index c05893d27..0e87d3710 100644 --- a/games-board/rmahjong/rmahjong-0.4_p20201106.ebuild +++ b/games-board/rmahjong/rmahjong-0.4_p20201106.ebuild @@ -51,7 +51,8 @@ src_prepare(){ # pass compiler and CFLAGS to 'Bot' makefile sed -i -e 's:gcc:'"$(tc-getCC)"':g' bot/makefile \ - -e 's:CFLAGS=-Wall -O3 -march=native:CFLAGS='"${CFLAGS}"':'|| die + -e 's:CFLAGS=-Wall -O3 -march=native:CFLAGS='"${CFLAGS}"':' \ + -e 's:\$(ARG):\$(ARG) '"${LDFLAGS}"':' || die } src_compile() {
