Skip to content

Commit cbaf416

Browse files
committed
Fix powerpc64 detection
1 parent 66494ed commit cbaf416

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Misc/platform_triplet.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,14 +184,14 @@ PLATFORM_TRIPLET=mips-linux-LIBC_MIPS
184184
# endif
185185
# elif defined(__or1k__)
186186
PLATFORM_TRIPLET=or1k-linux-LIBC
187-
# elif defined(__powerpc__)
188-
PLATFORM_TRIPLET=powerpc-linux-LIBC_PPC
189187
# elif defined(__powerpc64__)
190188
# if defined(__LITTLE_ENDIAN__)
191189
PLATFORM_TRIPLET=powerpc64le-linux-LIBC
192190
# else
193191
PLATFORM_TRIPLET=powerpc64-linux-LIBC
194192
# endif
193+
# elif defined(__powerpc__)
194+
PLATFORM_TRIPLET=powerpc-linux-LIBC_PPC
195195
# elif defined(__s390x__)
196196
PLATFORM_TRIPLET=s390x-linux-LIBC
197197
# elif defined(__s390__)

0 commit comments

Comments
 (0)