Jonathan Giddy:
This second problem only shows up if LDLAST is not an empty string (such
as with threads enabled on DEC Alphas).
diff --git a/Tools/freeze/makemakefile.py b/Tools/freeze/makemakefile.py
index 652a503..4d9913e 100644
--- a/Tools/freeze/makemakefile.py
+++ b/Tools/freeze/makemakefile.py
@@ -24,6 +24,7 @@
deps.append(dest)
outfp.write("\n%s: %s\n" % (target, string.join(deps)))
- outfp.write("\t$(CC) %s -o %s\n" % (string.join(files), target))
+ outfp.write("\t$(CC) %s -o %s $(LDLAST)\n" %
+ (string.join(files), target))
outfp.write("\nclean:\n\t-rm -f *.o %s\n" % target)