From be7619f2bc6a109bba24422fd54d41f909e0ee56 Mon Sep 17 00:00:00 2001 From: Fabien Sanglard Date: Wed, 10 Mar 2021 09:36:59 -0800 Subject: Always build zlib with proper clang options Test: go/ab Bug: NA Change-Id: Idf11d0abd34f0bb95bb771426c6b3b0109155595 --- BUILD | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/BUILD b/BUILD index e72d60b..5c593c5 100644 --- a/BUILD +++ b/BUILD @@ -1,11 +1,5 @@ licenses(["notice"]) -config_setting( - name = "windows", - values = {"host_cpu": "x64_windows"}, - visibility = ["//visibility:public"], -) - exports_files([ "NOTICE", ]) @@ -49,13 +43,10 @@ cc_library( "src/zutil.h", ":copy_zconf", ], - copts = select({ - "windows": [], - "//conditions:default": [ - "-Wno-unused-variable", - "-Wno-implicit-function-declaration", - ], - }), + copts = [ + "-Wno-unused-variable", + "-Wno-implicit-function-declaration", + ], includes = [ "src", ], -- cgit v1.2.3