summaryrefslogtreecommitdiff
path: root/extra/openal/openal-i486.patch
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-04-30 13:03:55 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-04-30 13:03:55 +0200
commitbf2448ba958588b7cfd71e00c6f6d99f915720e6 (patch)
tree29791cf00afd11c2333f65ce5a2cf54b26809abf /extra/openal/openal-i486.patch
parentb4412ca73d17eacf2ba16bb8693013926424c556 (diff)
downloadpackages-bf2448ba958588b7cfd71e00c6f6d99f915720e6.tar.xz
extra/openal: redone SSE(2) patching (thanks, KitsuWhooa)
Diffstat (limited to 'extra/openal/openal-i486.patch')
-rw-r--r--extra/openal/openal-i486.patch53
1 files changed, 0 insertions, 53 deletions
diff --git a/extra/openal/openal-i486.patch b/extra/openal/openal-i486.patch
deleted file mode 100644
index f59cf4f4..00000000
--- a/extra/openal/openal-i486.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-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")