Pārlūkot izejas kodu

Fix bzip2 compilation on clang 15+ (#3307)

* Support bzip2 on clang

* WIP

* Update xmake.lua

---------

Co-authored-by: ruki <[email protected]>
jj683 1 gadu atpakaļ
vecāks
revīzija
8d28fe380e
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      packages/b/bzip2/port/xmake.lua

+ 1 - 0
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