- add ignore-auxv.diff:
* avoid auxv parsing for any platform other than powerpc - add config-guess-sub-update.diff * update config.guess/sub for aarch64 support OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=249
This commit is contained in:
33
ignore-auxv.diff
Normal file
33
ignore-auxv.diff
Normal file
@@ -0,0 +1,33 @@
|
||||
--- 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
|
Reference in New Issue
Block a user