mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix build failed.
This commit is contained in:
parent
86f3bd7a0f
commit
12a55cd0c2
1 changed files with 2 additions and 2 deletions
|
@ -57,11 +57,11 @@ SRS_RESEARCH_DEPS = Makefile
|
|||
|
||||
# for x86/x64 platform
|
||||
ifeq ($(GCC), gcc)
|
||||
EXTRA_CXX_FLAG = -g -O0 -ldl -lstdc++
|
||||
EXTRA_CXX_FLAG = -g -O0 -ldl -lstdc++ -lm
|
||||
endif
|
||||
# for arm.
|
||||
ifeq ($(GCC), arm-linux-gnueabi-gcc)
|
||||
EXTRA_CXX_FLAG = -g -O0 -ldl -static -lstdc++
|
||||
EXTRA_CXX_FLAG = -g -O0 -ldl -static -lstdc++ -lm
|
||||
endif
|
||||
# for mips, add -lgcc_eh, or stl compile failed.
|
||||
ifeq ($(GCC), mipsel-openwrt-linux-gcc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue