1
0
Fork 0
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:
winlin 2017-05-30 09:58:14 +08:00
parent 86f3bd7a0f
commit 12a55cd0c2

View file

@ -57,11 +57,11 @@ SRS_RESEARCH_DEPS = Makefile
# for x86/x64 platform # for x86/x64 platform
ifeq ($(GCC), gcc) ifeq ($(GCC), gcc)
EXTRA_CXX_FLAG = -g -O0 -ldl -lstdc++ EXTRA_CXX_FLAG = -g -O0 -ldl -lstdc++ -lm
endif endif
# for arm. # for arm.
ifeq ($(GCC), arm-linux-gnueabi-gcc) ifeq ($(GCC), arm-linux-gnueabi-gcc)
EXTRA_CXX_FLAG = -g -O0 -ldl -static -lstdc++ EXTRA_CXX_FLAG = -g -O0 -ldl -static -lstdc++ -lm
endif endif
# for mips, add -lgcc_eh, or stl compile failed. # for mips, add -lgcc_eh, or stl compile failed.
ifeq ($(GCC), mipsel-openwrt-linux-gcc) ifeq ($(GCC), mipsel-openwrt-linux-gcc)