summaryrefslogtreecommitdiff
path: root/src/basic/architecture.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/architecture.h')
-rw-r--r--src/basic/architecture.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/basic/architecture.h b/src/basic/architecture.h
index d07bc411e5..f0de76f3fa 100644
--- a/src/basic/architecture.h
+++ b/src/basic/architecture.h
@@ -101,7 +101,11 @@ int uname_architecture(void);
#elif defined(__powerpc__)
# if __BYTE_ORDER == __BIG_ENDIAN
# define native_architecture() ARCHITECTURE_PPC
-# define LIB_ARCH_TUPLE "powerpc-linux-gnu"
+# if defined(__NO_FPRS__)
+# define LIB_ARCH_TUPLE "powerpc-linux-gnuspe"
+# else
+# define LIB_ARCH_TUPLE "powerpc-linux-gnu"
+# endif
# else
# define native_architecture() ARCHITECTURE_PPC_LE
# error "Missing LIB_ARCH_TUPLE for PPCLE"