diff --git a/bin/hipcc.pl b/bin/hipcc.pl index be611d2..0a06583 100755 --- a/bin/hipcc.pl +++ b/bin/hipcc.pl @@ -160,7 +160,7 @@ BEGIN # If $HIPCC clang++ is not compiled, use clang instead if ( ! -e $HIPCC ) { $HIPCC="$HIP_CLANG_PATH/clang" . $execExtension; - $HIPLDFLAGS .= " --driver-mode=g++"; + $HIPLDFLAGS = " --driver-mode=g++"; } # to avoid using dk linker or MSVC linker if($isWindows) {