From f420939b82766e371695e54abca4a7fadda6f801 Mon Sep 17 00:00:00 2001 From: Jon Chesterfield Date: Thu, 19 Aug 2021 01:34:33 +0100 Subject: [PATCH] [libomptarget] Apply D106710 to amdgcn devicertl --- openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt b/openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt index 5bd0ed7..4765d19 100644 --- a/openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt +++ b/openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt @@ -107,7 +107,7 @@ macro(add_cuda_bc_library) set(cu_cmd ${CLANG_TOOL} -xc++ -c - -mllvm -openmp-opt-disable-internalization + -mllvm -openmp-opt-disable -std=c++14 -ffreestanding -target amdgcn-amd-amdhsa -- 2.7.4