Skip to content

Commit

Permalink
Merge 203f7f6 into 05f5b89
Browse files Browse the repository at this point in the history
  • Loading branch information
gjasny committed Oct 17, 2019
2 parents 05f5b89 + 203f7f6 commit 5edc5ef
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions core/BUILD.bazel
Expand Up @@ -7,8 +7,8 @@ cc_library(
hdrs = glob(
["include/**/*.h"],
),
copts = [
"-DPROMETHEUS_CPP_COMPILE_CORE",
local_defines = [
"PROMETHEUS_CPP_COMPILE_CORE",
],
strip_include_prefix = "include",
visibility = ["//visibility:public"],
Expand Down
2 changes: 1 addition & 1 deletion core/benchmarks/BUILD.bazel
Expand Up @@ -4,7 +4,7 @@ cc_binary(
"*.cc",
"*.h",
]),
linkstatic = 1,
linkstatic = True,
deps = [
"//core",
"@com_github_google_benchmark//:benchmark",
Expand Down
2 changes: 1 addition & 1 deletion core/tests/BUILD.bazel
Expand Up @@ -5,7 +5,7 @@ cc_test(
"*.h",
]),
copts = ["-Iexternal/googletest/include"],
linkstatic = 1,
linkstatic = True,
deps = [
"//core",
"@com_google_googletest//:gtest_main",
Expand Down
6 changes: 3 additions & 3 deletions pull/BUILD.bazel
Expand Up @@ -7,9 +7,9 @@ cc_library(
hdrs = glob(
["include/**/*.h"],
),
copts = [
"-DHAVE_ZLIB",
"-DPROMETHEUS_CPP_COMPILE_PULL",
local_defines = [
"HAVE_ZLIB",
"PROMETHEUS_CPP_COMPILE_PULL",
],
strip_include_prefix = "include",
visibility = ["//visibility:public"],
Expand Down
6 changes: 3 additions & 3 deletions push/BUILD.bazel
Expand Up @@ -7,14 +7,14 @@ cc_library(
hdrs = glob(
["include/**/*.h"],
),
copts = [
"-DPROMETHEUS_CPP_COMPILE_PUSH",
],
linkopts = select({
"//:windows": [],
"//:windows_msvc": [],
"//conditions:default": ["-lpthread"],
}),
local_defines = [
"PROMETHEUS_CPP_COMPILE_PUSH",
],
strip_include_prefix = "include",
visibility = ["//visibility:public"],
deps = [
Expand Down

0 comments on commit 5edc5ef

Please sign in to comment.