From a99d982e0d1f90e6aa26843773b445dcfa243b42 Mon Sep 17 00:00:00 2001 From: Brian Osman Date: Thu, 28 Dec 2017 14:53:10 -0500 Subject: Add FASTLINK to windows builds From my local testing, this brings incremental link times back where they were before switching to Z7 (55s -> 15s). It also speeds up full builds times by a similar margin (so no real impact on per-translation unit build time). https://blogs.msdn.microsoft.com/vcblog/2016/10/05/faster-c-build-cycle-in-vs-15-with-debugfastlink/ Bug: skia: Change-Id: I83a3b8a3d6492eb9a6bd7fe8b6893b2dd6970b06 Reviewed-on: https://skia-review.googlesource.com/89800 Commit-Queue: Mike Klein Reviewed-by: Mike Klein --- gn/BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn/BUILD.gn') diff --git a/gn/BUILD.gn b/gn/BUILD.gn index 28b1aec1b7..52c0838737 100644 --- a/gn/BUILD.gn +++ b/gn/BUILD.gn @@ -381,7 +381,7 @@ config("debug_symbols") { ] } else if (is_win) { cflags = [ "/Z7" ] - ldflags = [ "/DEBUG" ] + ldflags = [ "/DEBUG:FASTLINK" ] } else { cflags = [ "-g" ] } -- cgit v1.2.3