we would ignore the early read variables and fail to export the super
cache's path to the project.
Change-Id: I3c467802b4af22f73be05b25dbd8ccb6196d28a8
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
break;
}
if (dir == superdir)
- goto no_cache;
+ break;
QFileInfo qsdfi(sdir);
QFileInfo qdfi(dir);
if (qsdfi.isRoot() || qdfi.isRoot())
- goto no_cache;
+ break;
sdir = qsdfi.path();
dir = qdfi.path();
}
if (!cachefile.isEmpty())
vars["_QMAKE_CACHE_"] << cachefile;
}
- no_cache:
// Look for mkspecs/ in source and build. First to win determines the root.
QString sdir = qmake_getpwd();