summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-action/minetest/minetest-5.4.1-r1.ebuild5
1 files changed, 4 insertions, 1 deletions
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() {