diff options
author | Marek Szuba <marecki@gentoo.org> | 2021-08-13 16:23:00 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2021-08-13 16:23:00 +0100 |
commit | 1917fa3d36b978173504fc27142760d854697dae (patch) | |
tree | aa62aa44cc362dbe0574d6eaf122d6b2603e6a96 /games-action | |
parent | dev-libs/leveldb: add 1.23 (diff) | |
download | gentoo-1917fa3d36b978173504fc27142760d854697dae.tar.gz gentoo-1917fa3d36b978173504fc27142760d854697dae.tar.bz2 gentoo-1917fa3d36b978173504fc27142760d854697dae.zip |
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 <marecki@gentoo.org>
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/minetest/minetest-5.4.1-r1.ebuild | 5 |
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() { |