We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fed883 commit cd22e48Copy full SHA for cd22e48
2 files changed
BUILD.bazel
@@ -53,6 +53,9 @@ COPTS = [
53
}) + select({
54
"//bazel/config:brpc_with_asan": ["-fsanitize=address"],
55
"//conditions:default": [""],
56
+}) + select({
57
+ "//bazel/config:brpc_with_no_pthread_mutex_hook": ["-DNO_PTHREAD_MUTEX_HOOK"],
58
+ "//conditions:default": [""],
59
})
60
61
LINKOPTS = [
bazel/config/BUILD.bazel
@@ -136,4 +136,10 @@ config_setting(
136
define_values = {
137
"with_bthread_tracer": "true",
138
},
139
+)
140
+
141
+config_setting(
142
+ name = "brpc_with_no_pthread_mutex_hook",
143
+ define_values = {"BRPC_WITH_NO_PTHREAD_MUTEX_HOOK": "true"},
144
+ visibility = ["//visibility:public"],
145
)
0 commit comments