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