]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* scripts/soversions.awk: Only record first WORDSIZE{32,64}
authorJakub Jelinek <jakub@redhat.com>
Fri, 11 Feb 2005 15:02:19 +0000 (15:02 +0000)
committerJakub Jelinek <jakub@redhat.com>
Fri, 11 Feb 2005 15:02:19 +0000 (15:02 +0000)
matching line.

ChangeLog
scripts/soversions.awk

index a448d7c335335e2a68e0217562419e26c4224aed..21071e35d28906e67ef1e52fdc3739282a819d24 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-02-11  Jakub Jelinek  <jakub@redhat.com>
+
+       * scripts/soversions.awk: Only record first WORDSIZE{32,64}
+       matching line.
+
 2005-02-11  Roland McGrath  <roland@redhat.com>
 
        [BZ #715]
index eab2e1767743bb39746a35c1feb8d09f644b9131..32ce076ba999a79078684468019f0971495c567b 100644 (file)
@@ -8,7 +8,7 @@ BEGIN {
 { thiscf = $1 }
 
 $2 ~ /WORDSIZE[3264]/ {
-  if (config ~ thiscf) {
+  if ((config ~ thiscf) && !othercf) {
     othercf = $3;
     sub(/@CPU@/, cpu, othercf);
     sub(/@VENDOR@/, vendor, othercf);