Skip to content

Commit

Permalink
fix c++ version and delete macosx
Browse files Browse the repository at this point in the history
  • Loading branch information
hahahahbenny committed Aug 9, 2024
1 parent 224e801 commit c7b853c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/b/breakpad/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ package("breakpad")
import("package.tools.xmake").install(package, configs)
end)

on_install("linux", "macosx", function (package)
on_install("linux", function (package)
io.replace("configure", "WARN_CXXFLAGS \" -Werror\"", "WARN_CXXFLAGS ", {plain = true})
local configs = {"--disable-dependency-tracking"}
local configs = {"--disable-dependency-tracking", "CXXFLAGS='-std=c++17'"}
if package:is_debug() then
table.insert(configs, "CXXFLAGS=-g")
end
Expand Down

0 comments on commit c7b853c

Please sign in to comment.