Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c8f859a

Browse files
committed
Jonathan Giddy:
This second problem only shows up if LDLAST is not an empty string (such as with threads enabled on DEC Alphas).
1 parent 590fc2c commit c8f859a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Tools/freeze/makemakefile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def makemakefile(outfp, makevars, files, target):
2424
deps.append(dest)
2525

2626
outfp.write("\n%s: %s\n" % (target, string.join(deps)))
27-
outfp.write("\t$(CC) %s -o %s\n" % (string.join(files), target))
27+
outfp.write("\t$(CC) %s -o %s $(LDLAST)\n" %
28+
(string.join(files), target))
2829

2930
outfp.write("\nclean:\n\t-rm -f *.o %s\n" % target)

0 commit comments

Comments
 (0)