summaryrefslogtreecommitdiff
path: root/extra/openal/openal-i486.patch
blob: f59cf4f4a752504ba26d8235a30ff1ba5cc42885 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
diff -rauN openal/CMakeLists.txt openal-i486-patch/CMakeLists.txt
--- openal/CMakeLists.txt	2019-12-12 17:07:05.966917263 +0100
+++ openal-i486-patch/CMakeLists.txt	2019-12-12 19:13:29.678013351 +0100
@@ -307,28 +307,28 @@
 SET(SSE4_1_SWITCH "")
 SET(FPU_NEON_SWITCH "")
 
-CHECK_C_COMPILER_FLAG(-msse2 HAVE_MSSE2_SWITCH)
-IF(HAVE_MSSE2_SWITCH)
-    SET(SSE2_SWITCH "-msse2")
-ENDIF()
-CHECK_C_COMPILER_FLAG(-msse3 HAVE_MSSE3_SWITCH)
-IF(HAVE_MSSE3_SWITCH)
-    SET(SSE3_SWITCH "-msse3")
-ENDIF()
-CHECK_C_COMPILER_FLAG(-msse4.1 HAVE_MSSE4_1_SWITCH)
-IF(HAVE_MSSE4_1_SWITCH)
-    SET(SSE4_1_SWITCH "-msse4.1")
-ENDIF()
-CHECK_C_COMPILER_FLAG(-mfpu=neon HAVE_MFPU_NEON_SWITCH)
-IF(HAVE_MFPU_NEON_SWITCH)
-    SET(FPU_NEON_SWITCH "-mfpu=neon")
-ENDIF()
+#~ CHECK_C_COMPILER_FLAG(-msse2 HAVE_MSSE2_SWITCH)
+#~ IF(HAVE_MSSE2_SWITCH)
+    #~ SET(SSE2_SWITCH "-msse2")
+#~ ENDIF()
+#~ CHECK_C_COMPILER_FLAG(-msse3 HAVE_MSSE3_SWITCH)
+#~ IF(HAVE_MSSE3_SWITCH)
+    #~ SET(SSE3_SWITCH "-msse3")
+#~ ENDIF()
+#~ CHECK_C_COMPILER_FLAG(-msse4.1 HAVE_MSSE4_1_SWITCH)
+#~ IF(HAVE_MSSE4_1_SWITCH)
+    #~ SET(SSE4_1_SWITCH "-msse4.1")
+#~ ENDIF()
+#~ CHECK_C_COMPILER_FLAG(-mfpu=neon HAVE_MFPU_NEON_SWITCH)
+#~ IF(HAVE_MFPU_NEON_SWITCH)
+    #~ SET(FPU_NEON_SWITCH "-mfpu=neon")
+#~ ENDIF()
 
-CHECK_INCLUDE_FILE(xmmintrin.h HAVE_XMMINTRIN_H "${SSE2_SWITCH}")
-CHECK_INCLUDE_FILE(emmintrin.h HAVE_EMMINTRIN_H "${SSE2_SWITCH}")
-CHECK_INCLUDE_FILE(pmmintrin.h HAVE_PMMINTRIN_H "${SSE3_SWITCH}")
-CHECK_INCLUDE_FILE(smmintrin.h HAVE_SMMINTRIN_H "${SSE4_1_SWITCH}")
-CHECK_INCLUDE_FILE(arm_neon.h HAVE_ARM_NEON_H "${FPU_NEON_SWITCH}")
+#~ CHECK_INCLUDE_FILE(xmmintrin.h HAVE_XMMINTRIN_H "${SSE2_SWITCH}")
+#~ CHECK_INCLUDE_FILE(emmintrin.h HAVE_EMMINTRIN_H "${SSE2_SWITCH}")
+#~ CHECK_INCLUDE_FILE(pmmintrin.h HAVE_PMMINTRIN_H "${SSE3_SWITCH}")
+#~ CHECK_INCLUDE_FILE(smmintrin.h HAVE_SMMINTRIN_H "${SSE4_1_SWITCH}")
+#~ CHECK_INCLUDE_FILE(arm_neon.h HAVE_ARM_NEON_H "${FPU_NEON_SWITCH}")
 
 SET(SSE_FLAGS )
 SET(FPMATH_SET "0")