Skip to content

Commit 808571a

Browse files
authored
Fix Bazel build breakage caused by commit 6a894bd. (google#1374)
1 parent 6a894bd commit 808571a

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

BUILD.bazel

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@ licenses(["notice"])
22

33
load("//:config/generate_export_header.bzl", "generate_export_header")
44

5-
posix_copts = [
6-
"-fvisibility=hidden",
7-
"-fvisibility-inlines-hidden",
8-
]
9-
105
# Generate header to provide ABI export symbols
116
generate_export_header(
127
out = "include/benchmark/export.h",
@@ -51,10 +46,6 @@ cc_library(
5146
}),
5247
strip_include_prefix = "include",
5348
visibility = ["//visibility:public"],
54-
copts = select({
55-
":windows": [],
56-
"//conditions:default": posix_copts,
57-
}),
5849
# Only static linking is allowed; no .so will be produced.
5950
# Using `defines` (i.e. not `local_defines`) means that no
6051
# dependent rules need to bother about defining the macro.
@@ -69,10 +60,6 @@ cc_library(
6960
strip_include_prefix = "include",
7061
visibility = ["//visibility:public"],
7162
deps = [":benchmark"],
72-
copts = select({
73-
":windows": [],
74-
"//conditions:default": posix_copts,
75-
}),
7663
)
7764

7865
cc_library(

0 commit comments

Comments
 (0)