1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 11:15:13 +03:00
aports/testing/openttd/no-sse4.patch
2022-05-25 21:40:51 +02:00

13 lines
397 B
Diff

this sets the sources to use sse4 instructions, which is above our baseline.
it also enables sse4 on pure-x86 with our builds, so best to disable
--- a/cmake/FindSSE.cmake
+++ b/cmake/FindSSE.cmake
@@ -12,6 +12,7 @@
#include <xmmintrin.h>
#include <smmintrin.h>
#include <tmmintrin.h>
- int main() { return 0; }"
+ # die!
+ int main() { *(int *)0 = 0; }"
SSE_FOUND
)