Skip to content

Commit

Permalink
isocline: add cflags
Browse files Browse the repository at this point in the history
  • Loading branch information
Chi-EEE committed Aug 15, 2024
1 parent cf14943 commit cabd167
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/i/isocline/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ package("isocline")
if is_plat("windows") and is_kind("shared") then
add_rules("utils.symbols.export_all")
end
if is_plat("macosx") then
add_cflags("-Wimplicit-int-conversion", "-Wsign-conversion")
end
if is_plat("mingw") then
add_cflags("-Wsign-conversion", "-Wno-missing-braces", "-Wint-conversion")
end
]])
local configs = {}
import("package.tools.xmake").install(package, configs)
Expand Down

0 comments on commit cabd167

Please sign in to comment.