aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/sycl/crosstool/CROSSTOOL.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/sycl/crosstool/CROSSTOOL.tpl')
-rwxr-xr-xthird_party/sycl/crosstool/CROSSTOOL.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/sycl/crosstool/CROSSTOOL.tpl b/third_party/sycl/crosstool/CROSSTOOL.tpl
index d767b8ca4a..19b6f3ae32 100755
--- a/third_party/sycl/crosstool/CROSSTOOL.tpl
+++ b/third_party/sycl/crosstool/CROSSTOOL.tpl
@@ -34,6 +34,7 @@ toolchain {
# Use "-std=c++11" for nvcc. For consistency, force both the host compiler
# and the device compiler to use "-std=c++11".
cxx_flag: "-std=c++11"
+ linker_flag: "-Wl,-no-as-needed"
linker_flag: "-lstdc++"
linker_flag: "-B/usr/bin/"
@@ -100,4 +101,3 @@ toolchain {
compiler_flag: "-DNDEBUG"
}
}
-