From 1e6b79ea6482910fb0f0140d8f73f25dfe9ff799 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 --- bin/hipcc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/hipcc b/bin/hipcc index 14a6cfe2f2..fef4175e66 100755 --- a/bin/hipcc +++ b/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++"; }