diff options
Diffstat (limited to 'lib')
-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 3dc3e5cf0..b70d0726a 100644 --- a/lib/rpmrc.c +++ b/lib/rpmrc.c @@ -935,7 +935,7 @@ static void defaultMachine(const char ** arch, const char ** os) { } # endif /* hpux */ -# if defined(__linux__) && defined(__sparc__) +# if HAVE_PERSONALITY && defined(__linux__) && defined(__sparc__) if (!strcmp(un.machine, "sparc")) { #define PERS_LINUX 0x00000000 #define PERS_LINUX_32BIT 0x00800000 |