--- lib/rpmrc.c +++ lib/rpmrc.c @@ -79,10 +79,12 @@ int localize; }; +#if defined(__linux__) && defined(__powerpc__) static struct rpmat_s { const char *platform; uint64_t hwcap; } rpmat; +#endif typedef struct defaultEntry_s { char * name; @@ -907,7 +909,7 @@ #endif -#if defined(__linux__) +#if defined(__linux__) && defined(__powerpc__) /** * Populate rpmat structure with parsed info from /proc/self/auxv */ @@ -957,7 +959,7 @@ canonEntry canon; int rc; -#if defined(__linux__) +#if defined(__linux__) && defined(__powerpc__) /* Populate rpmat struct with hw info */ parse_auxv(); #endif