compiler is > 1, to cope with compilers (like the AIX one) that
changes behaviour based on argv[0].
Thanks to Nicholas Clark <nick@ccl4.org> for pointing out this problem
stats_update(STATS_COMPILER);
failed();
}
+
+ /* also include the hash of the compiler name - as some compilers
+ use hard links and behave differently depending on the real name */
+ if (st.st_nlink > 1) {
+ hash_string(str_basename(args->argv[0]));
+ }
+
hash_int(st.st_size);
hash_int(st.st_mtime);