]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Fix maintainer-mode build for binutils 2.37
authorGreg Hudson <ghudson@mit.edu>
Mon, 3 Apr 2023 23:19:38 +0000 (19:19 -0400)
committerGreg Hudson <ghudson@mit.edu>
Mon, 10 Apr 2023 17:23:05 +0000 (13:23 -0400)
binutils 2.37 makes --with-symbol-versions the default for nm.  In
export-check.pl, remove the default symbol versions in the nm output
if they are present.

ticket: 9092 (new)

src/util/export-check.pl

index eaec7d61111903f85743a62fc45fa25f66726e6f..2866c0a382362be6c70420faf0473f210c6f074d 100755 (executable)
@@ -49,6 +49,7 @@ map chop, @export;
 while (<NM>) {
     chop;
     s/^[0-9a-fA-F]+ +//;
+    s/@@.*$//;
     next if /^A /;
     if (!/^[TDRBGS] /) {
        unlink $libfile;