Fix bzip2 compilation on clang 15+ (#3307)

* Support bzip2 on clang

* WIP

* Update xmake.lua

---------

Co-authored-by: ruki <waruqi@gmail.com>
pull/3308/head
jj683 9 months ago committed by GitHub
parent 1a471e4f03
commit 8d28fe380e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      packages/b/bzip2/port/xmake.lua

@ -22,6 +22,7 @@ target("bz2")
if is_plat("wasm") then
add_defines("BZ_STRICT_ANSI")
end
add_cflags("clang::-Wno-error=int-conversion")
if has_config("enable_tools") then

Loading…
Cancel
Save