update math/cglm to 0.9.4: bugfix release

From the upstream changelog: "Also now SSE can work without SSE2
which may not available on 32bit devices e.g. i686", so this could
fix the build failure of games/taisei on i386.

changelog: https://github.com/recp/cglm/releases/tag/v0.9.4
This commit is contained in:
op
2024-04-11 15:11:34 +00:00
parent ef8003d84c
commit 8e0638433a
3 changed files with 11 additions and 9 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
COMMENT = highly optimized graphics math library
DIST_TUPLE = github recp cglm v0.9.2 .
DIST_TUPLE = github recp cglm v0.9.4 .
SHARED_LIBS = cglm 0.5
SHARED_LIBS = cglm 0.6
CATEGORIES = math
+2 -2
View File
@@ -1,2 +1,2 @@
SHA256 (recp-cglm-v0.9.2.tar.gz) = XAY5/hJcAP+qc75e7s1r6ZmDlAHnbPTuBawog0R6W00=
SIZE (recp-cglm-v0.9.2.tar.gz) = 672575
SHA256 (recp-cglm-v0.9.4.tar.gz) = EBN22fXbcTmlTbNczEOeQLZ5vC77dW00adOe445pxBs=
SIZE (recp-cglm-v0.9.4.tar.gz) = 690840
+7 -5
View File
@@ -3,12 +3,14 @@
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -43,7 +43,7 @@ if(MSVC)
string(REGEX REPLACE "/RTC(su|[1su])" "" ${flag_var} "${${flag_var}}")
endforeach(flag_var)
@@ -45,10 +45,6 @@ if(MSVC)
endif()
else()
- add_compile_options(-Wall -O3)
+ add_compile_options(-Wall)
add_compile_options(-Wall)
-
- if(NOT CMAKE_BUILD_TYPE MATCHES Debug)
- add_compile_options(-O3)
- endif()
endif()
get_directory_property(hasParent PARENT_DIRECTORY)