diff --git a/openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt b/openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt --- a/openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt +++ b/openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt @@ -153,7 +153,7 @@ # Set flags for LLVM Bitcode compilation. set(bc_flags -S -x c++ -O1 -std=c++14 - -mllvm -openmp-opt-disable-internalization + -mllvm -openmp-opt-disable -target nvptx64 -Xclang -emit-llvm-bc -Xclang -aux-triple -Xclang ${aux_triple}