summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/gn.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/package/tools/gn.lua')
-rw-r--r--xmake/modules/package/tools/gn.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/xmake/modules/package/tools/gn.lua b/xmake/modules/package/tools/gn.lua
index d6037d5e1..221ca92e9 100644
--- a/xmake/modules/package/tools/gn.lua
+++ b/xmake/modules/package/tools/gn.lua
@@ -40,8 +40,6 @@ function _get_configs(package, configs, opt)
if not package:is_plat("windows") then
configs.cc = package:build_getenv("cc")
configs.cxx = package:build_getenv("cxx")
- else
- configs.extra_cflags = {(package:config("vs_runtime"):startswith("MT") and "/MT" or "/MD")}
end
if package:is_plat("macosx") then
configs.extra_ldflags = {"-lstdc++"}