From 2f317d372d83929b58c337da56f757c10d2da76e Mon Sep 17 00:00:00 2001 From: hahahahbenny <1292983376@qq.com> Date: Fri, 9 Aug 2024 16:07:36 +0800 Subject: [PATCH] fix cxxflags --- packages/b/breakpad/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/b/breakpad/xmake.lua b/packages/b/breakpad/xmake.lua index 9125c9e83fa..6f302ac0750 100644 --- a/packages/b/breakpad/xmake.lua +++ b/packages/b/breakpad/xmake.lua @@ -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