mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
ST: Refine tools and CMakeLists.txt. Add backtrace example. v5.0.79
This commit is contained in:
parent
d9cf874033
commit
5a1a234855
18 changed files with 410 additions and 353 deletions
|
@ -1,3 +1,3 @@
|
|||
jmpbuf
|
||||
jmpbuf.E.c
|
||||
jmpbuf.E.txt
|
||||
|
||||
|
|
8
trunk/3rdparty/st-srs/tools/jmpbuf/Makefile
vendored
8
trunk/3rdparty/st-srs/tools/jmpbuf/Makefile
vendored
|
@ -12,14 +12,14 @@ CPU_ARCHS += $(shell g++ -dM -E - </dev/null |grep -q '__aarch64' && echo arm64
|
|||
CFLAGS += -arch $(CPU_ARCHS)
|
||||
endif
|
||||
|
||||
default: ./jmpbuf ./jmpbuf.E.c
|
||||
default: ./jmpbuf ./jmpbuf.E.txt
|
||||
|
||||
./jmpbuf: jmpbuf.c $(LDLIBS)
|
||||
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -Wall -o $@ $^ $(LDLIBS)
|
||||
|
||||
./jmpbuf.E.c: jmpbuf.c
|
||||
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -Wall -E -o jmpbuf.E.c $^ $(LDLIBS)
|
||||
./jmpbuf.E.txt: jmpbuf.c
|
||||
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -Wall -E -o jmpbuf.E.txt $^ $(LDLIBS)
|
||||
|
||||
clean:
|
||||
rm -rf jmpbuf jmpbuf.E.c jmpbuf.dSYM
|
||||
rm -rf jmpbuf jmpbuf.E.txt jmpbuf.dSYM
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue