projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Guard against 'current_directory == NULL' on gdb_abspath (PR gdb/23613)
[deliverable/binutils-gdb.git]
/
libiberty
/
maint-tool
diff --git
a/libiberty/maint-tool
b/libiberty/maint-tool
index 2c6879410492ad2be8c34fac5bc945683de5a4a1..f100dd4a0d7bb05c8553cb50cc001d9ffed73ec1 100644
(file)
--- a/
libiberty/maint-tool
+++ b/
libiberty/maint-tool
@@
-1,8
+1,7
@@
#!/usr/bin/perl
# -*- perl -*-
#!/usr/bin/perl
# -*- perl -*-
-# Copyright (C) 2001, 2007
-# Free Software Foundation
+# Copyright (C) 2001-2019 Free Software Foundation, Inc.
#
# This file is part of the libiberty library.
# Libiberty is free software; you can redistribute it and/or
#
# This file is part of the libiberty library.
# Libiberty is free software; you can redistribute it and/or
@@
-215,6
+214,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
+224,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"));
}
This page took
0.025844 seconds
and
4
git commands to generate.