Skip to content

Commit b6ccad5

Browse files
committed
cmake: report native NaCl nexe architecture and “pnacl” for pexe
1 parent 1cb65e6 commit b6ccad5

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

cmake/DaemonPlatform/Detection/Architecture.c

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ care of platform name variants that are meant to distinguish
5757
platform variants we cannot support anyway. */
5858

5959
/* PNaCl virtual machines. */
60-
#if defined(__native_client__)
61-
#pragma message(REPORT_NAME("nacl"))
60+
#if defined(__pnacl__)
61+
#pragma message(REPORT_NAME("pnacl"))
6262

6363
/* Wasm virtual machines, work in progress. */
6464
#elif defined(Q_PROCESSOR_WASM)
@@ -107,6 +107,11 @@ platform variants we cannot support anyway. */
107107
#elif defined(Q_PROCESSOR_RISCV_64)
108108
#pragma message(REPORT_NAME("riscv64"))
109109

110+
/* Remaining native NaCl architecture. */
111+
112+
#elif defined(Q_PROCESSOR_MIPS_32) && Q_BYTE_ORDER == Q_LITTLE_ENDIAN
113+
#pragma message(REPORT_NAME("mipsel"))
114+
110115
#else
111116
#pragma message(REPORT_NAME("unknown"))
112117
#endif

0 commit comments

Comments
 (0)