@@ -145,11 +145,11 @@ namespace printer {
145
145
146
146
declareShellVariable (" ASAN_LIB" , Paths::getAsanLibraryPath (), declareVariableFunc);
147
147
148
- declareShellVariable (" CLANG" , Paths::getUTBotClang (), declareVariableWithPriorityFunc, false , false );
148
+ declareShellVariable (" CLANG" , Paths::getUTBotClang (), declareVariableWithPriorityFunc);
149
149
150
150
declareShellVariable (" CLANGXX" , Paths::getUTBotClangPP (), declareVariableWithPriorityFunc, false , false );
151
151
152
- pathToShellVariable[Paths::getUTBotClang ()] = StringUtils::stringFormat (" $(%s)" , " CLANG" );
152
+ // pathToShellVariable[Paths::getUTBotClang()] = StringUtils::stringFormat("$(%s)", "CLANG");
153
153
pathToShellVariable[Paths::getUTBotClangPP ()] = StringUtils::stringFormat (" $(%s)" , " CLANGXX" );
154
154
155
155
declareShellVariable (" GCC" , Paths::getGcc (), declareVariableFunc);
@@ -708,10 +708,10 @@ namespace printer {
708
708
709
709
fs::path NativeMakefilePrinter::getRelativePathForLinker (fs::path path) const {
710
710
const auto compiler = CompilationUtils::getCompilerName (path);
711
- if (compiler == CompilationUtils::CompilerName::CLANGXX) {
712
- // don't transform to canonical if CLANGXX
711
+ if (compiler != CompilationUtils::CompilerName::CLANGXX) {
713
712
return getRelativePath (path);
714
713
}
714
+ // don't transform to canonical if CLANGXX
715
715
return getRelativePath (path, false );
716
716
}
717
717
0 commit comments