aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/cc/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/cc/BUILD')
-rw-r--r--tensorflow/cc/BUILD21
1 files changed, 4 insertions, 17 deletions
diff --git a/tensorflow/cc/BUILD b/tensorflow/cc/BUILD
index 9801add1da..a884f11d48 100644
--- a/tensorflow/cc/BUILD
+++ b/tensorflow/cc/BUILD
@@ -472,23 +472,10 @@ cc_binary(
name = "tutorials_example_trainer",
srcs = ["tutorials/example_trainer.cc"],
copts = tf_copts(),
- linkopts = select({
- "//tensorflow:windows": [],
- "//tensorflow:windows_msvc": [],
- "//tensorflow:darwin": [
- "-lm",
- "-lpthread",
- ],
- "//tensorflow:ios": [
- "-lm",
- "-lpthread",
- ],
- "//conditions:default": [
- "-lm",
- "-lpthread",
- "-lrt",
- ],
- }),
+ linkopts = [
+ "-lpthread",
+ "-lm",
+ ],
deps = [
":cc_ops",
"//tensorflow/core:core_cpu",