summary refs log tree commit diff
path: root/scripts/soversions.awk
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-02-15 00:05:57 +0000
committerRoland McGrath <roland@gnu.org>2005-02-15 00:05:57 +0000
commit3220ccb6874105079403ffc7335bb58cb3cbab91 (patch)
treed9aa1fd095c62fafe6646fc407eb17f23b727a8f /scripts/soversions.awk
parent7de00121723507e61df94dfbb6a4c5a9fbba7146 (diff)
downloadglibc-3220ccb6874105079403ffc7335bb58cb3cbab91.tar.gz
glibc-3220ccb6874105079403ffc7335bb58cb3cbab91.tar.xz
glibc-3220ccb6874105079403ffc7335bb58cb3cbab91.zip
* scripts/soversions.awk: Only record first WORDSIZE{32,64}
	matching line.
Diffstat (limited to 'scripts/soversions.awk')
-rw-r--r--scripts/soversions.awk2
1 files changed, 1 insertions, 1 deletions
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);