From c722f79b6c8919e1a8a0df6d4d7735c5a8a1b5e8 Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Mon, 31 Jul 2017 11:57:21 -0400 Subject: clang on windows support 1) Run python bin/fetch-clang-win 2) Set clang_win = "../bin/clang_win" 3) ??? 4) Profit Most changes here are to pass the right -mfoo flags to Clang to enable advanced instruction sets, or fixed warning-as-errors. BUG=skia:2679 Change-Id: Ieed145d35c209131c7c16fdd3ee11a3de4a1a921 Reviewed-on: https://skia-review.googlesource.com/28740 Reviewed-by: Ben Wagner Commit-Queue: Mike Klein --- third_party/zlib/BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'third_party/zlib') diff --git a/third_party/zlib/BUILD.gn b/third_party/zlib/BUILD.gn index 3f9bc5c7c8..a1e4836bf6 100644 --- a/third_party/zlib/BUILD.gn +++ b/third_party/zlib/BUILD.gn @@ -48,7 +48,7 @@ third_party("zlib_x86") { "../externals/zlib/fill_window_sse.c", "../externals/zlib/x86.c", ] - if (!is_win) { + if (!is_win || is_clang) { cflags_c = [ "-msse4.2", "-mpclmul", -- cgit v1.2.3