Skip to content

Commit

Permalink
fix cxxflags
Browse files Browse the repository at this point in the history
  • Loading branch information
hahahahbenny committed Aug 9, 2024
1 parent c7b853c commit 2f317d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/b/breakpad/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ package("breakpad")

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

0 comments on commit 2f317d3

Please sign in to comment.