about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-02-11 15:02:19 +0000
committerJakub Jelinek <jakub@redhat.com>2005-02-11 15:02:19 +0000
commit8426ecf6be9006d5b44f5fa54ac4c75e620f5fd1 (patch)
treead9b5b0c844b61ff2e5db462a0a6f500cfd2c532
parentb821229a10e85f03b47d048e119518885cc25e0b (diff)
downloadglibc-8426ecf6be9006d5b44f5fa54ac4c75e620f5fd1.tar.gz
glibc-8426ecf6be9006d5b44f5fa54ac4c75e620f5fd1.tar.xz
glibc-8426ecf6be9006d5b44f5fa54ac4c75e620f5fd1.zip
* scripts/soversions.awk: Only record first WORDSIZE{32,64}
	matching line.
-rw-r--r--ChangeLog5
-rw-r--r--scripts/soversions.awk2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a448d7c335..21071e35d2 100644
--- 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]
diff --git a/scripts/soversions.awk b/scripts/soversions.awk
index eab2e17677..32ce076ba9 100644
--- a/scripts/soversions.awk
+++ b/scripts/soversions.awk
@@ -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);