index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2019-12-12 19:37:27 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2019-12-12 19:37:27 +0100 |
commit | 332d58575b99b2db61bebb96ae74fd30f0dfd512 (patch) | |
tree | 5bb4e35ca919e5a0da74e6de536b9c471621d48f /extra/openal/openal-i686.patch | |
parent | b55f4c51514b8af8e2c6ec878a8ee03f29dfaa13 (diff) |
-rw-r--r-- | extra/openal/openal-i686.patch | 53 |
diff --git a/extra/openal/openal-i686.patch b/extra/openal/openal-i686.patch new file mode 100644 index 00000000..44261849 --- /dev/null +++ b/extra/openal/openal-i686.patch @@ -0,0 +1,53 @@ +diff -rauN openal/CMakeLists.txt openal-i686-patch/CMakeLists.txt +--- openal/CMakeLists.txt 2019-12-12 17:07:05.966917263 +0100 ++++ openal-i686-patch/CMakeLists.txt 2019-12-12 19:11:43.256675497 +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") |