diff options
Diffstat (limited to 'games-misc/bsd-games/bsd-games-3.1-r2.ebuild')
-rw-r--r-- | games-misc/bsd-games/bsd-games-3.1-r2.ebuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/games-misc/bsd-games/bsd-games-3.1-r2.ebuild b/games-misc/bsd-games/bsd-games-3.1-r2.ebuild index 748268ebe63e..bae51ec41a4f 100644 --- a/games-misc/bsd-games/bsd-games-3.1-r2.ebuild +++ b/games-misc/bsd-games/bsd-games-3.1-r2.ebuild @@ -67,6 +67,9 @@ src_prepare() { echo bsd_games_cfg_usrlibdir=\"$(get_libdir)\" >> ./config.params || die echo bsd_games_cfg_build_dirs=\"${GAMES_TO_BUILD}\" >> ./config.params || die echo bsd_games_cfg_docdir=\"/usr/share/doc/${PF}\" >> ./config.params || die + if use riscv; then + sed -i 's/${CC} ${ldflags} -o $@ $^/${CC} ${ldflags} -o $@ $^ -latomic/' ./*/Module.mk || die + fi } src_configure() { |