summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-03-28 03:45:25 +0000
committerSam James <sam@gentoo.org>2024-03-28 03:45:25 +0000
commitf9151322f528a3c36ed60f50510221df3a0c3460 (patch)
tree9eb97697f2d455714d0ee47ed60ab42de3b6ee9a
parentnet-misc/curl: Stabilize 8.7.1 sparc, #927998 (diff)
downloadgentoo-f9151322f528a3c36ed60f50510221df3a0c3460.tar.gz
gentoo-f9151322f528a3c36ed60f50510221df3a0c3460.tar.bz2
gentoo-f9151322f528a3c36ed60f50510221df3a0c3460.zip
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@gentoo.org>
-rw-r--r--media-libs/libsdl2/libsdl2-2.30.1.ebuild1
1 files changed, 1 insertions, 0 deletions
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