diff options
| author | yamashi <[email protected]> | 2022-04-13 15:59:43 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-04-13 15:59:43 +0200 |
| commit | fcd4d3bef9491cf81a82f21f799ee617f1571b76 (patch) | |
| tree | 8770379e79ad8684ae00ed0a5c254df720b79b07 /xmake/modules/package/tools/gn.lua | |
| parent | 33de5bfd93c27f28db546d4594bd950cc015637a (diff) | |
remove extra_cflags from gn as it isn't standard
This has to be done on a project basis
Diffstat (limited to 'xmake/modules/package/tools/gn.lua')
| -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++"} |
