summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/shared/architecture.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/shared/architecture.h b/src/shared/architecture.h
index 08079244dc..b94adae885 100644
--- a/src/shared/architecture.h
+++ b/src/shared/architecture.h
@@ -142,8 +142,13 @@ Architecture uname_architecture(void);
# define native_architecture() ARCHITECTURE_ARM_BE
# error "Missing ARCH_TUPLE for ARM_BE"
# else
-# define native_architecture() ARCHITECTURE_ARM
-# error "Missing ARCH_TUPLE for ARM"
+# if defined(__ARM_PCS_VFP)
+# define native_architecture() ARCHITECTURE_ARM
+# define ARCH_TUPLE "arm-linux-gnueabihf"
+# else
+# define native_architecture() ARCHITECTURE_ARM
+# define ARCH_TUPLE "arm-linux-gnueabi"
+# endif
# endif
#elif defined(__sh64__)
# define native_architecture() ARCHITECTURE_SH64