diff --git a/openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt b/openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt index 2f16dbb3dd78..a07f4f7fa6ae 100644 --- a/openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt +++ b/openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt @@ -153,7 +153,7 @@ set(cuda_src_files # 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}