void-packages/srcpkgs/gzdoom/patches/c3fed654ed85fc42ec59c99f760a7da572a95d2d.patch
2019-10-30 21:18:25 +01:00

21 lines
659 B
Diff

From c3fed654ed85fc42ec59c99f760a7da572a95d2d Mon Sep 17 00:00:00 2001
From: John Zimmermann <johnz@posteo.net>
Date: Tue, 29 Oct 2019 01:02:09 +0100
Subject: [PATCH] utility/palette.cpp requires sse2 on x86*
---
src/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6f6ece0a24..cb8ffc0f3d 100644
--- src/CMakeLists.txt
+++ src/CMakeLists.txt
@@ -1305,6 +1305,7 @@ if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE )
rendering/polyrenderer/poly_all.cpp
rendering/swrenderer/r_all.cpp
utility/x86.cpp
+ utility/palette.cpp
PROPERTIES COMPILE_FLAGS "-msse2 -mmmx" )
endif()
endif()