about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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);