diff options
author | jbj <devnull@localhost> | 2002-08-02 12:49:27 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-08-02 12:49:27 +0000 |
commit | b2480c3ded1975563f793a846919f3078098d764 (patch) | |
tree | 2cffaf371a2e6c3683ae8a323a6e1f29af280006 /lib/rpmrc.c | |
parent | d8eaee30df6d1e4f53dfa34ec11bafeccfc27642 (diff) | |
download | librpm-tizen-b2480c3ded1975563f793a846919f3078098d764.tar.gz librpm-tizen-b2480c3ded1975563f793a846919f3078098d764.tar.bz2 librpm-tizen-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/rpmrc.c')
-rw-r--r-- | lib/rpmrc.c | 2 |
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; |