diff options
| author | Simon Tatham <anakin@pobox.com> | 2011-04-23 11:37:46 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2011-04-23 11:37:46 +0000 |
| commit | 8713e2fa8138242df69af501ae8c9c4dc0358d74 (patch) | |
| tree | 312e22f96d10fd95cb69e15adc373dfa7e0235f2 | |
| parent | 3e0822228aa4f5676b40e3911aa659676f6f4f48 (diff) | |
| download | puzzles-8713e2fa8138242df69af501ae8c9c4dc0358d74.zip puzzles-8713e2fa8138242df69af501ae8c9c4dc0358d74.tar.gz puzzles-8713e2fa8138242df69af501ae8c9c4dc0358d74.tar.bz2 puzzles-8713e2fa8138242df69af501ae8c9c4dc0358d74.tar.xz | |
Support user-specified extra link flags (XLFLAGS) in the Unix
makefile. Makes it easy to recompile for things like profiling.
[originally from svn r9154]
| -rwxr-xr-x | mkfiles.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1137,7 +1137,7 @@ if (defined $makefiles{'gtk'}) { $objstr = &objects($p, "X.o", undef, undef); print &splitline($prog . ": " . $objstr), "\n"; $libstr = &objects($p, undef, undef, "-lX"); - print &splitline("\t\$(CC) -o \$@ $objstr $libstr \$(${type}LIBS)", 69), + print &splitline("\t\$(CC) -o \$@ $objstr $libstr \$(XLFLAGS) \$(${type}LIBS)", 69), "\n\n"; } foreach $d (&deps("X.o", undef, $dirpfx, "/")) { |