From d06cd35623a8d097ba58ae4338fcb7cbe96d8c63 Mon Sep 17 00:00:00 2001 From: Maneesh Gupta Date: Thu, 7 Apr 2016 10:48:16 +0530 Subject: [PATCH] Fix broken CUDA path in hipcc [ROCm/hip commit: 1e6b79ea6482910fb0f0140d8f73f25dfe9ff799] --- projects/hip/bin/hipcc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip/bin/hipcc b/projects/hip/bin/hipcc index 14a6cfe2f2..fef4175e66 100755 --- a/projects/hip/bin/hipcc +++ b/projects/hip/bin/hipcc @@ -187,7 +187,7 @@ if ($hasCU and $HIP_PLATFORM eq 'hcc') { $HIPCXXFLAGS .= " -x c++"; } -if ($enablestdcpplib eq 0) +if ($enablestdcpplib eq 0 and $HIP_PLATFORM eq 'hcc') { $HIPCXXFLAGS .= " -stdlib=libc++"; }