From 1917fa3d36b978173504fc27142760d854697dae Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Fri, 13 Aug 2021 16:23:00 +0100 Subject: games-action/minetest: append -fPIC to xFLAGS Needed in order to get rid of TEXTRELs (in both executables) on riscv. Signed-off-by: Marek Szuba --- games-action/minetest/minetest-5.4.1-r1.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'games-action') diff --git a/games-action/minetest/minetest-5.4.1-r1.ebuild b/games-action/minetest/minetest-5.4.1-r1.ebuild index a47aa21d3786..b31121b063a3 100644 --- a/games-action/minetest/minetest-5.4.1-r1.ebuild +++ b/games-action/minetest/minetest-5.4.1-r1.ebuild @@ -5,7 +5,7 @@ EAPI=7 LUA_COMPAT=( lua5-1 luajit ) -inherit cmake lua-single systemd xdg +inherit cmake flag-o-matic lua-single systemd xdg DESCRIPTION="A free open-source voxel game engine with easy modding and game creation" HOMEPAGE="https://www.minetest.net" @@ -72,6 +72,9 @@ src_prepare() { # remove bundled libraries rm -rf lib || die + + # To avoid TEXTRELs on riscv + append-flags -fPIC } src_configure() { -- cgit v1.2.3-65-gdbad