From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AB81D139360 for ; Fri, 13 Aug 2021 15:26:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7990E0864; Fri, 13 Aug 2021 15:26:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AE83EE0864 for ; Fri, 13 Aug 2021 15:26:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8A85C3406C0 for ; Fri, 13 Aug 2021 15:26:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 066624A2 for ; Fri, 13 Aug 2021 15:26:50 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1628868180.1917fa3d36b978173504fc27142760d854697dae.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/minetest/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-action/minetest/minetest-5.4.1-r1.ebuild X-VCS-Directories: games-action/minetest/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 1917fa3d36b978173504fc27142760d854697dae X-VCS-Branch: master Date: Fri, 13 Aug 2021 15:26:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4f1dc345-c103-46cc-a158-6035710ee8a8 X-Archives-Hash: 1e67d83e794d1eaa13241df10e8e9a73 commit: 1917fa3d36b978173504fc27142760d854697dae Author: Marek Szuba gentoo org> AuthorDate: Fri Aug 13 15:23:00 2021 +0000 Commit: Marek Szuba gentoo org> CommitDate: Fri Aug 13 15:23:00 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1917fa3d 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 gentoo.org> games-action/minetest/minetest-5.4.1-r1.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/games-action/minetest/minetest-5.4.1-r1.ebuild b/games-action/minetest/minetest-5.4.1-r1.ebuild index a47aa21d378..b31121b063a 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() {