From: Greg Hudson Date: Mon, 3 Apr 2023 23:19:38 +0000 (-0400) Subject: Fix maintainer-mode build for binutils 2.37 X-Git-Tag: krb5-1.21-beta1~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9327e92950086753f61f7e2d02bfa658e7779777;p=thirdparty%2Fkrb5.git Fix maintainer-mode build for binutils 2.37 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) --- diff --git a/src/util/export-check.pl b/src/util/export-check.pl index eaec7d6111..2866c0a382 100755 --- a/src/util/export-check.pl +++ b/src/util/export-check.pl @@ -49,6 +49,7 @@ map chop, @export; while () { chop; s/^[0-9a-fA-F]+ +//; + s/@@.*$//; next if /^A /; if (!/^[TDRBGS] /) { unlink $libfile;