diff options
author | Mike Klein <mtklein@chromium.org> | 2016-11-28 13:09:40 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-11-29 17:54:20 +0000 |
commit | cab79aadad30e48fc7b4ba9868d6badf3798beba (patch) | |
tree | 3d957c661e8dd6eb3b3684269ddb750c475e9fbf /gn | |
parent | bddd234181fccb73af148d327386270e61197de9 (diff) |
Use /MD for Windows builds.
I think the default is /MT, static linking.
This should make our builds smaller, and compatible with clients using /MD.
Change-Id: Id8a39a029925eda2627532bbd0223c693300f5da
Reviewed-on: https://skia-review.googlesource.com/5277
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'gn')
-rw-r--r-- | gn/BUILD.gn | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn index 60dddffd40..334fc4a4c7 100644 --- a/gn/BUILD.gn +++ b/gn/BUILD.gn @@ -64,6 +64,7 @@ config("default") { "/FS", # Preserve previous PDB behavior. "/bigobj", # Some of our files are bigger than the regular limits. "/WX", # Treat warnings as errors. + "/MD", # Link against dynamic, non-debug standard library. ] defines += [ "_CRT_SECURE_NO_WARNINGS", # Disables warnings about sscanf(). |