aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/stream_executor/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/stream_executor/BUILD')
-rw-r--r--tensorflow/stream_executor/BUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/tensorflow/stream_executor/BUILD b/tensorflow/stream_executor/BUILD
index 00faccced6..b1d5cbeaf5 100644
--- a/tensorflow/stream_executor/BUILD
+++ b/tensorflow/stream_executor/BUILD
@@ -46,6 +46,10 @@ cc_library(
exclude = ["cuda/cuda_platform_id.cc"],
),
),
+ copts = select({
+ "//tensorflow:windows": ["/DNOGDI"],
+ "//conditions:default": [],
+ }),
linkopts = select({
"//tensorflow:freebsd": [],
"//conditions:default": ["-ldl"],