Update binaryen to 109.

This commit is contained in:
fcambus 2022-07-29 22:12:34 +00:00
parent af1635c78e
commit ab86ed355e
3 changed files with 15 additions and 5 deletions

View File

@ -2,7 +2,7 @@ COMMENT = WebAssembly compiler and toolchain infrastructure library
GH_ACCOUNT = WebAssembly
GH_PROJECT = binaryen
GH_TAGNAME = version_108
GH_TAGNAME = version_109
PKGNAME = ${DISTNAME:L:S/version_//}

View File

@ -1,2 +1,2 @@
SHA256 (binaryen-version_108.tar.gz) = f+pQE9p/mNrutqCmAzPoqpF7ywsbQYuoUx/nENCQQfI=
SIZE (binaryen-version_108.tar.gz) = 4098965
SHA256 (binaryen-version_109.tar.gz) = 4lAxDbCsSAzBIccnV4FjRslG9sM8eIs2mnQraQCJhWo=
SIZE (binaryen-version_109.tar.gz) = 4134622

View File

@ -1,9 +1,11 @@
Remove hardcoded optimizations.
- Remove hardcoded optimizations.
- Partially revert upstream commit b76d2fb1e5bb839249b25b7094db94219695f515,
it breaks the build on OpenBSD.
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -283,7 +283,6 @@ else()
@@ -283,15 +283,10 @@ else()
endif()
add_debug_compile_flag("-O0")
add_debug_compile_flag("-g3")
@ -11,3 +13,11 @@ Index: CMakeLists.txt
if(BYN_ENABLE_ASSERTIONS)
# On non-Debug builds cmake automatically defines NDEBUG, so we
# explicitly undefine it:
add_nondebug_compile_flag("-UNDEBUG")
- endif()
- if(NOT APPLE AND NOT "${CMAKE_CXX_FLAGS}" MATCHES "-fsanitize")
- # This flag only applies to shared libraries so don't use add_link_flag
- set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined")
endif()
endif()