From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1615327-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 435A4158041
	for <garchives@archives.gentoo.org>; Thu, 28 Mar 2024 03:46:26 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 7A32F2BC013;
	Thu, 28 Mar 2024 03:46:25 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 4EBBF2BC013
	for <gentoo-commits@lists.gentoo.org>; Thu, 28 Mar 2024 03:46:25 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 5774E335DC3
	for <gentoo-commits@lists.gentoo.org>; Thu, 28 Mar 2024 03:46:24 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id E76D515C7
	for <gentoo-commits@lists.gentoo.org>; Thu, 28 Mar 2024 03:46:22 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1711597525.f9151322f528a3c36ed60f50510221df3a0c3460.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl2/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-libs/libsdl2/libsdl2-2.30.1.ebuild
X-VCS-Directories: media-libs/libsdl2/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: f9151322f528a3c36ed60f50510221df3a0c3460
X-VCS-Branch: master
Date: Thu, 28 Mar 2024 03:46:22 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 75da3be2-a12a-4d83-8c0d-b8923283a11b
X-Archives-Hash: fdd8f3043f0a9ded7baa1e3a3f44ffb3

commit:     f9151322f528a3c36ed60f50510221df3a0c3460
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 28 03:45:25 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 28 03:45:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9151322

media-libs/libsdl2: try harder with LDFLAGS for tests

I ended up hitting a GCC bug because of inconsistent use of -mfpmath=sse.

This should hopefully help.

Bug: https://gcc.gnu.org/PR114487
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libsdl2/libsdl2-2.30.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-libs/libsdl2/libsdl2-2.30.1.ebuild b/media-libs/libsdl2/libsdl2-2.30.1.ebuild
index 3892dd137bc0..757d81b9f933 100644
--- a/media-libs/libsdl2/libsdl2-2.30.1.ebuild
+++ b/media-libs/libsdl2/libsdl2-2.30.1.ebuild
@@ -223,6 +223,7 @@ multilib_src_configure() {
 			SDL_LIBS="-L${BUILD_DIR}/build/.libs -lSDL2"
 			ac_cv_lib_SDL2_ttf_TTF_Init=no
 			CFLAGS="${CPPFLAGS} ${CFLAGS} ${LDFLAGS}"
+			LDFLAGS="${CPPFLAGS} ${CFLAGS} ${LDFLAGS}"
 		)
 
 		mkdir "${BUILD_DIR}/test" || die