diff options
author | 2021-04-25 15:20:45 +0300 | |
---|---|---|
committer | 2021-04-25 15:20:45 +0300 | |
commit | 270ab7dc299f649b2bab7339c8eb4a169d901060 (patch) | |
tree | 1ffab7ffcb9464fde014c51b74d363118302f5d0 /games-board | |
parent | kde-apps/kclock: new package (diff) | |
download | guru-270ab7dc299f649b2bab7339c8eb4a169d901060.tar.gz guru-270ab7dc299f649b2bab7339c8eb4a169d901060.tar.bz2 guru-270ab7dc299f649b2bab7339c8eb4a169d901060.zip |
games-board/rmahjong: fix passing system LDFLAGS
Closes: https://bugs.gentoo.org/785526
Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
Diffstat (limited to 'games-board')
-rw-r--r-- | games-board/rmahjong/rmahjong-0.4_p20201106.ebuild | 3 |
1 files changed, 2 insertions, 1 deletions
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() { |