public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/xonotic/
Date: Thu, 20 Jul 2023 12:02:25 +0000 (UTC)	[thread overview]
Message-ID: <1689854382.2f96f337e143e8b3f99f7aee3fe7325b81f3d2e0.ionen@gentoo> (raw)

commit:     2f96f337e143e8b3f99f7aee3fe7325b81f3d2e0
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 20 11:36:36 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Jul 20 11:59:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f96f337

games-fps/xonotic: export CPUOPTIMIZATIONS rather than pass

Handling of this variable changed a bit, and it (now) passes
-mno-avx to avoid subtle errors in physics. There's currently no
reason to override things it adds (+=) so just export it rather
than do a `append-flags -mno-avx` ourselves for parity.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-fps/xonotic/xonotic-0.8.6.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/games-fps/xonotic/xonotic-0.8.6.ebuild b/games-fps/xonotic/xonotic-0.8.6.ebuild
index dba043261a73..9848e246cedb 100644
--- a/games-fps/xonotic/xonotic-0.8.6.ebuild
+++ b/games-fps/xonotic/xonotic-0.8.6.ebuild
@@ -60,13 +60,15 @@ src_prepare() {
 src_compile() {
 	tc-export CC
 
+	# do not pass in array to keep the makefile.inc's += flags
+	local -x CPUOPTIMIZATIONS=${CFLAGS}
+
 	local emakeargs=(
 		-C source/darkplaces
 		DEFAULT_SNDAPI=$(usex alsa ALSA OSS)
 		DP_FS_BASEDIR="${EPREFIX}"/usr/share/${PN}
 		DP_LINK_ODE=$(usex ode shared no)
 		STRIP=:
-		CPUOPTIMIZATIONS="${CFLAGS}"
 		GENTOO_LDFLAGS="${LDFLAGS}"
 	)
 


             reply	other threads:[~2023-07-20 12:02 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-20 12:02 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-08-06  4:32 [gentoo-commits] repo/gentoo:master commit in: games-fps/xonotic/ Ionen Wolkens
2023-07-20 12:02 Ionen Wolkens
2022-07-04 15:56 Ionen Wolkens
2022-07-04 15:56 Ionen Wolkens
2021-12-14  9:04 Sam James
2020-07-26 20:23 James Le Cuirot
2018-05-06 19:03 Matt Turner
2017-12-10 21:41 Michał Górny
2017-05-31  7:51 Lars Wendler
2017-05-19  6:49 Lars Wendler
2017-05-18  9:02 Lars Wendler
2017-05-18  9:01 Lars Wendler
2015-12-18  0:47 Michael Sterrett
2015-12-18  0:47 Michael Sterrett
2015-12-03 13:28 Agostino Sarubbo
2015-12-02 14:29 Agostino Sarubbo
2015-10-08  8:36 Michael Sterrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1689854382.2f96f337e143e8b3f99f7aee3fe7325b81f3d2e0.ionen@gentoo \
    --to=ionen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox