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

For #1537, #1282, when not use builtin setjmp, donot compile md.S

This commit is contained in:
winlin 2019-12-25 16:04:28 +08:00
parent 916ec71801
commit e42633cd65
2 changed files with 4 additions and 0 deletions

View file

@ -1,3 +1,5 @@
#if defined(MD_USE_BUILTIN_SETJMP)
/* /*
* Portions created by SGI are Copyright (C) 2000 Silicon Graphics, Inc. * Portions created by SGI are Copyright (C) 2000 Silicon Graphics, Inc.
* All Rights Reserved. * All Rights Reserved.
@ -504,3 +506,4 @@
#endif #endif
#endif

View file

@ -420,6 +420,7 @@
#elif defined(__arm__) #elif defined(__arm__)
#define MD_STACK_GROWS_DOWN #define MD_STACK_GROWS_DOWN
/* https://github.com/ossrs/state-threads/issues/1#issuecomment-244648573 */
#define MD_USE_BUILTIN_SETJMP #define MD_USE_BUILTIN_SETJMP
/* force to use glibc solution, hack the guard jmpbuf from michaeltalyansky */ /* force to use glibc solution, hack the guard jmpbuf from michaeltalyansky */