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

Support enable C++11. 4.0.29

This commit is contained in:
winlin 2020-06-03 19:18:41 +08:00
parent 5139816feb
commit 6e04c66402
5 changed files with 19 additions and 2 deletions

2
trunk/configure vendored
View file

@ -87,7 +87,7 @@ GDBDebug=" -g -O0"
WarnLevel=" -Wall"
# the compile standard.
CppStd="-ansi"
if [[ $SRS_SRT == YES ]]; then
if [[ $SRS_CXX11 == YES ]]; then
CppStd="-std=c++11"
fi
# performance of gprof