sdl3: Disable AltiVec optimisations on non-ppc64le (#462734)

This commit is contained in:
Cosima Neidahl
2025-12-01 17:41:24 +00:00
committed by GitHub
+3
View File
@@ -171,6 +171,9 @@ stdenv.mkDerivation (finalAttrs: {
(lib.cmakeBool "SDL_TESTS" true)
(lib.cmakeBool "SDL_INSTALL_TESTS" true)
(lib.cmakeBool "SDL_DEPS_SHARED" false)
# Only ppc64le baseline guarantees AltiVec
(lib.cmakeBool "SDL_ALTIVEC" (stdenv.hostPlatform.isPower64 && stdenv.hostPlatform.isLittleEndian))
]
++
lib.optionals