chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e08222
)
Support user-specified extra link flags (XLFLAGS) in the Unix
author
Simon Tatham
<anakin@pobox.com>
Sat, 23 Apr 2011 11:37:46 +0000
(11:37 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Sat, 23 Apr 2011 11:37:46 +0000
(11:37 +0000)
makefile. Makes it easy to recompile for things like profiling.
[originally from svn r9154]
mkfiles.pl
patch
|
blob
|
history
diff --git
a/mkfiles.pl
b/mkfiles.pl
index 541a44dced4f2b616aaf7b7f8618574667d1facf..5bb0d392552bb4f05ecdb4c0ddf448cd3ae62ea0 100755
(executable)
--- a/
mkfiles.pl
+++ b/
mkfiles.pl
@@
-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, "/")) {