From 4280725bb35f71a8b402f08ccd69ca85e0deb05e Mon Sep 17 00:00:00 2001 From: Vijay Pai Date: Fri, 28 Jul 2017 15:08:24 -0700 Subject: Clean up grpc++_unsecure so that it doesn't require secure content anymore --- bazel/grpc_build_system.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bazel') diff --git a/bazel/grpc_build_system.bzl b/bazel/grpc_build_system.bzl index f793cae56d..0295adb8ab 100644 --- a/bazel/grpc_build_system.bzl +++ b/bazel/grpc_build_system.bzl @@ -80,7 +80,7 @@ def grpc_cc_test(name, srcs = [], deps = [], external_deps = [], args = [], data linkopts = ["-pthread"], ) -def grpc_cc_binary(name, srcs = [], deps = [], external_deps = [], args = [], data = [], language = "C++", testonly = False, linkshared = False): +def grpc_cc_binary(name, srcs = [], deps = [], external_deps = [], args = [], data = [], language = "C++", testonly = False, linkshared = False, linkopts = []): copts = [] if language.upper() == "C": copts = ["-std=c99"] @@ -93,7 +93,7 @@ def grpc_cc_binary(name, srcs = [], deps = [], external_deps = [], args = [], da linkshared = linkshared, deps = deps + ["//external:" + dep for dep in external_deps], copts = copts, - linkopts = ["-pthread"], + linkopts = ["-pthread"] + linkopts, ) def grpc_generate_one_off_targets(): -- cgit v1.2.3