diff options
-rw-r--r-- | src/apk_database.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/apk_database.h b/src/apk_database.h index e0c04ed..2e8fb89 100644 --- a/src/apk_database.h +++ b/src/apk_database.h @@ -23,6 +23,12 @@ #define APK_DEFAULT_ARCH "x86_64" #elif defined(__i386__) #define APK_DEFAULT_ARCH "x86" +#elif defined(__powerpc__) && !defined(__powerpc64__) +#define APK_DEFAULT_ARCH "ppc" +#elif defined(__powerpc64__) +#define APK_DEFAULT_ARCH "ppc64" +#elif defined(__arm__) +#define APK_DEFAULT_ARCH "arm" #else #warning APK_DEFAULT_ARCH is not set for this architecture #define APK_DEFAULT_ARCH "noarch" |