Commit 384eada8 authored by Ariadne Conill's avatar Ariadne Conill 🐰
Browse files

apk_database: add APK_DEFAULT_ARCH for ppc, ppc64 and arm ports

parent 86a67d44
...@@ -23,6 +23,12 @@ ...@@ -23,6 +23,12 @@
#define APK_DEFAULT_ARCH "x86_64" #define APK_DEFAULT_ARCH "x86_64"
#elif defined(__i386__) #elif defined(__i386__)
#define APK_DEFAULT_ARCH "x86" #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 #else
#warning APK_DEFAULT_ARCH is not set for this architecture #warning APK_DEFAULT_ARCH is not set for this architecture
#define APK_DEFAULT_ARCH "noarch" #define APK_DEFAULT_ARCH "noarch"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment