* scripts/soversions.awk: Only record first WORDSIZE{32,64}
authorjakub <jakub>
Fri, 11 Feb 2005 15:02:17 +0000 (15:02 +0000)
committerjakub <jakub>
Fri, 11 Feb 2005 15:02:17 +0000 (15:02 +0000)
matching line.

ChangeLog
scripts/soversions.awk

index a448d7c..21071e3 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 eab2e17..32ce076 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);