Skip to content

Commit

Permalink
For #1537, #1282, support disable ASM to avoid building bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Dec 25, 2019
1 parent b672ad4 commit 97bb8a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions trunk/3rdparty/st-srs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ The branch [srs](https://github.com/ossrs/state-threads/tree/srs) will be patche
- [x] Merge from [michaeltalyansky](https://github.com/michaeltalyansky/state-threads) and [xzh3836598](https://github.com/ossrs/state-threads/commit/9a17dec8f9c2814d93761665df7c5575a4d2d8a3), support [ARM](https://github.com/ossrs/state-threads/issues/1).
- [x] Merge from [toffaletti](https://github.com/toffaletti/state-threads), support [valgrind](https://github.com/ossrs/state-threads/issues/2) for ST.
- [x] Patch [st.osx10.14.build.patch](https://github.com/ossrs/srs/blob/2.0release/trunk/3rdparty/patches/6.st.osx10.14.build.patch), for osx 10.14 build.
- [x] Support macro `MD_ST_NO_ASM` to disable ASM, [#8](https://github.com/ossrs/state-threads/issues/8).

## Docs

Expand Down
4 changes: 3 additions & 1 deletion trunk/3rdparty/st-srs/md.S
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#if defined(MD_USE_BUILTIN_SETJMP)

/* If user disable the ASM, such as avoiding bugs in ASM, donot compile it. */
#if !defined(MD_ST_NO_ASM)

/*
* Portions created by SGI are Copyright (C) 2000 Silicon Graphics, Inc.
Expand Down

0 comments on commit 97bb8a5

Please sign in to comment.