From b340f4a6ed5232ebbd03b0b4c43d3f4729f1e8a0 Mon Sep 17 00:00:00 2001 From: Aaron Enye Shi Date: Tue, 12 Sep 2017 17:50:44 -0400 Subject: [PATCH] Update hipcc --- bin/hipcc | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/hipcc b/bin/hipcc index d9aee09693..30ed8145bd 100755 --- a/bin/hipcc +++ b/bin/hipcc @@ -131,6 +131,7 @@ if ($HIP_PLATFORM eq "hcc") { $HIPCXXFLAGS .= " -stdlib=libc++"; $setStdLib = 1; } + # Force -stdlib=libc++ on Cent OS 7 if ($HOST_OSNAME eq "\"centos\"" and $HOST_OSVER eq "\"7\"") { $HIPCXXFLAGS .= " -stdlib=libc++"; $HIPLDFLAGS .= " -lc++ -lc++abi";