summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.def.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 9d2cc6e..6df05cb 100644
--- a/config.def.h
+++ b/config.def.h
@@ -13,6 +13,14 @@
# define ARCH "x86_64"
#elif defined __i386__
# define ARCH "i686"
+#elif defined __ARM_ARCH_7__
+# define ARCH "armv7h"
+#elif defined __ARM_ARCH_6__
+# if defined __VFP_FP__
+# define ARCH "armv6h"
+# else
+# define ARCH "armv6l"
+# endif
#else
# error Unknown architecture!
#endif