Overview
Comment: | configure: Enable threads for Nintendo Switch
devkitPro provides a pthreads wrapper that just works. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
bef92f92b62ca5ef264f1aa6c947be62 |
User & Date: | js on 2022-08-07 19:56:12 |
Other Links: | manifest | tags |
Context
2022-08-07
| ||
20:22 | OFConstantString: Fix missed method check-in: 0f50cc3858 user: js tags: trunk | |
19:56 | configure: Enable threads for Nintendo Switch check-in: bef92f92b6 user: js tags: trunk | |
18:23 | OFEmbeddedFileURLHandler: Add scheme check check-in: 12a7357722 user: js tags: trunk | |
Changes
Modified PLATFORMS.md from [76c080ea38] to [cb8b9b98c6].
︙ | ︙ | |||
158 159 160 161 162 163 164 | Nintendo Switch --------------- * OS Versions: yuzu 1093 * Architectures: AArch64 * Compilers: GCC 12.1.0 (devkitA64 release 19) * Runtimes: ObjFW | | < | 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 | Nintendo Switch --------------- * OS Versions: yuzu 1093 * Architectures: AArch64 * Compilers: GCC 12.1.0 (devkitA64 release 19) * Runtimes: ObjFW * Limitations: No sockets, no shared libraries, not tested on real hardware OpenBSD ------- * OS Versions: 5.2-6.7 * Architectures: MIPS64, PA-RISC, PowerPC, SPARC64, x86_64 |
︙ | ︙ |
Modified configure.ac from [8dd672b002] to [a6c1722c25].
︙ | ︙ | |||
281 282 283 284 285 286 287 | OBJFW_OBJCFLAGS="$OBJFW_OBJCFLAGS $flags" CPPFLAGS="$CPPFLAGS -D__SWITCH__ -I$DEVKITPRO/libnx/include" OBJFW_CPPFLAGS="$OBJFW_CPPFLAGS -D__SWITCH__ -I$DEVKITPRO/libnx/include" ASFLAGS="$ASFLAGS $flags" LDFLAGS="$LDFLAGS -specs=$DEVKITPRO/libnx/switch.specs $flags" LIBS="$LIBS -L$DEVKITPRO/libnx/lib -lnx" enable_shared="no" | | | 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 | OBJFW_OBJCFLAGS="$OBJFW_OBJCFLAGS $flags" CPPFLAGS="$CPPFLAGS -D__SWITCH__ -I$DEVKITPRO/libnx/include" OBJFW_CPPFLAGS="$OBJFW_CPPFLAGS -D__SWITCH__ -I$DEVKITPRO/libnx/include" ASFLAGS="$ASFLAGS $flags" LDFLAGS="$LDFLAGS -specs=$DEVKITPRO/libnx/switch.specs $flags" LIBS="$LIBS -L$DEVKITPRO/libnx/lib -lnx" enable_shared="no" enable_threads="yes" enable_sockets="no" # TODO check_pedantic="no" AC_DEFINE(OF_NINTENDO_SWITCH, 1, [Whether we are compiling for Nintendo Switch]) ]) |
︙ | ︙ |