mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-14 19:59:55 +03:00
13 lines
397 B
Diff
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
|
|
)
|