summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-08-02 12:49:27 +0000
committerjbj <devnull@localhost>2002-08-02 12:49:27 +0000
commitb2480c3ded1975563f793a846919f3078098d764 (patch)
tree2cffaf371a2e6c3683ae8a323a6e1f29af280006 /lib
parentd8eaee30df6d1e4f53dfa34ec11bafeccfc27642 (diff)
downloadrpm-b2480c3ded1975563f793a846919f3078098d764.tar.gz
rpm-b2480c3ded1975563f793a846919f3078098d764.tar.bz2
rpm-b2480c3ded1975563f793a846919f3078098d764.zip
- fix: identify athlon with 3DNOWEXT as "athlon", not "i786" (#70539).
CVS patchset: 5591 CVS date: 2002/08/02 12:49:27
Diffstat (limited to 'lib')
-rw-r--r--lib/rpmrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmrc.c b/lib/rpmrc.c
index fe763af40..b022e9d39 100644
--- a/lib/rpmrc.c
+++ b/lib/rpmrc.c
@@ -1279,7 +1279,7 @@ static void defaultMachine(/*@out@*/ const char ** arch,
{
char class = (char) (RPMClass() | '0');
- if (class == '6' && is_athlon())
+ if ((class == '6' && is_athlon()) || class == '7')
strcpy(un.machine, "athlon");
else if (strchr("3456", un.machine[1]) && un.machine[1] != class)
un.machine[1] = class;