1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

OpenWRT: Fix build issues

This commit is contained in:
winlin 2021-10-03 14:15:23 +08:00
parent efbff98046
commit b6d02a51b8
5 changed files with 49 additions and 19 deletions

View file

@ -81,10 +81,9 @@
} \
(void)0
// Checking for st(state-threads), only support the following cpus: i386/amd64/x86_64/arm
// @reamrk To patch ST for arm, read https://github.com/ossrs/state-threads/issues/1
#if !defined(__amd64__) && !defined(__x86_64__) && !defined(__i386__) && !defined(__arm__) && !defined(__aarch64__)
#error "only support i386/amd64/x86_64/arm cpu"
// Check CPU for ST(state-threads), please read https://github.com/ossrs/state-threads/issues/22
#if !defined(__amd64__) && !defined(__x86_64__) && !defined(__i386__) && !defined(__arm__) && !defined(__aarch64__) && !defined(__mips__)
#error "Only support i386/amd64/x86_64/arm/aarch64/mips cpu"
#endif
// Error predefined for all modules.