fix of HIPCC on libc++ option on HCC path
Change-Id: Ie0d3213a165fa13f033b777b490eb60b980d02da
[ROCm/hip commit: b7fcdc6121]
This commit is contained in:
@@ -225,12 +225,12 @@ foreach $arg (@ARGV)
|
||||
$needLDFLAGS = 1;
|
||||
}
|
||||
|
||||
if($arg eq '-stdlib=libc++' and $setStdLib eq 0)
|
||||
if(($arg eq '-stdlib=libc++') and ($setStdLib eq 0))
|
||||
{
|
||||
$HIPCXXFLAGS .= " -stdlib=libc++";
|
||||
$setStdLib = 1;
|
||||
}
|
||||
if($arg eq '-stdlib=libstdc++' and $setStdLib eq 0)
|
||||
if(($arg eq '-stdlib=libstdc++') and ($setStdLib eq 0))
|
||||
{
|
||||
$HIPCXXFLAGS .= " -stdlib=libstdc++";
|
||||
$setStdLib = 1;
|
||||
|
||||
Reference in New Issue
Block a user