aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-02-05 10:27:27 -0500
committerJack Lloyd <[email protected]>2019-02-05 10:27:27 -0500
commit3f5ac055d4eab38bbd7c21aebfe1a20d4ac1dc3a (patch)
tree3de344f705a280fa41a1a1033703ad39b2172f23 /src
parent11d30b5d9f40b196458c2aab835df0e9dacd508d (diff)
Properly detect embedded PowerPC
GH #1820
Diffstat (limited to 'src')
-rw-r--r--src/build-data/detect_arch.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/build-data/detect_arch.cpp b/src/build-data/detect_arch.cpp
index 028e39b3b..4de58922f 100644
--- a/src/build-data/detect_arch.cpp
+++ b/src/build-data/detect_arch.cpp
@@ -18,7 +18,12 @@
PPC64
#elif defined(__powerpc__) || defined(__ppc__) || defined(_ARCH_PPC)
- PPC32
+
+ #if defined(__SPE__)
+ POWERPCSPE
+ #else
+ PPC32
+ #endif
#elif defined(__mips__) || defined(__mips)