diff options
| author | ruki <[email protected]> | 2022-04-14 00:03:42 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-04-14 00:03:42 +0800 |
| commit | 7f7480dc941c515d72c8f321c60564437a362f78 (patch) | |
| tree | 6a99529c7ff55e8811ac2d918c0ba24652cef79d | |
| parent | bbca3003a375bbf59c7af69e41edfbb514f3083f (diff) | |
| parent | fcd4d3bef9491cf81a82f21f799ee617f1571b76 (diff) | |
Merge pull request #2264 from yamashi/patch-2
remove extra_cflags from gn as it isn't standard
| -rw-r--r-- | xmake/modules/package/tools/gn.lua | 2 |
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++"} |
