projects
/
platform
/
upstream
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Automatic date update in version.in
[platform/upstream/binutils.git]
/
libiberty
/
maint-tool
diff --git
a/libiberty/maint-tool
b/libiberty/maint-tool
index
36b9203
..
1c94cdc
100644
(file)
--- a/
libiberty/maint-tool
+++ b/
libiberty/maint-tool
@@
-1,7
+1,7
@@
#!/usr/bin/perl
# -*- perl -*-
#!/usr/bin/perl
# -*- perl -*-
-# Copyright (C) 2001, 2007, 2010
+# Copyright (C) 2001, 2007, 2010
, 2014
# Free Software Foundation
#
# This file is part of the libiberty library.
# Free Software Foundation
#
# This file is part of the libiberty library.
@@
-215,6
+215,9
@@
sub deps {
$crule = "\tif [ x\"\$(PICFLAG)\" != x ]; then \\\n";
$crule .= "\t \$(COMPILE.c) \$(PICFLAG) \$< -o pic/\$@; \\\n";
$crule .= "\telse true; fi\n";
$crule = "\tif [ x\"\$(PICFLAG)\" != x ]; then \\\n";
$crule .= "\t \$(COMPILE.c) \$(PICFLAG) \$< -o pic/\$@; \\\n";
$crule .= "\telse true; fi\n";
+ $crule .= "\tif [ x\"\$(NOASANFLAG)\" != x ]; then \\\n";
+ $crule .= "\t \$(COMPILE.c) \$(PICFLAG) \$(NOASANFLAG) \$< -o noasan/\$@; \\\n";
+ $crule .= "\telse true; fi\n";
$crule .= "\t\$(COMPILE.c) \$< \$(OUTPUT_OPTION)\n";
$crule .= "\n";
$crule .= "\t\$(COMPILE.c) \$< \$(OUTPUT_OPTION)\n";
$crule .= "\n";
@@
-222,7
+225,7
@@
sub deps {
opendir(INC, $incdir);
while ($f = readdir INC) {
opendir(INC, $incdir);
while ($f = readdir INC) {
- next unless $f =~ /\.h$/;
+ next unless $f =~ /\.h$/
|| $f =~ /\.def$/
;
$mine{$f} = "\$(INCDIR)/$f";
$deps{$f} = join(' ', &deps_for("$incdir/$f"));
}
$mine{$f} = "\$(INCDIR)/$f";
$deps{$f} = join(' ', &deps_for("$incdir/$f"));
}