From 384eada8aff3e9aca3cb1c289e194aee85cbd6c2 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 16 Jul 2011 04:31:27 -0500 Subject: apk_database: add APK_DEFAULT_ARCH for ppc, ppc64 and arm ports --- src/apk_database.h | 6 ++++++ 1 file changed, 6 insertions(+) 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" -- cgit v1.2.3-70-g09d2