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

add c++14 support

This commit is contained in:
莫战 2020-06-11 17:12:37 +08:00 committed by winlin
parent 31ff84c82d
commit db8d91cbee
3 changed files with 18 additions and 0 deletions

3
trunk/configure vendored
View file

@ -90,6 +90,9 @@ CppStd="-ansi"
if [[ $SRS_CXX11 == YES ]]; then
CppStd="-std=c++11"
fi
if [[ $SRS_CXX14 == YES ]]; then
CppStd="-std=c++14"
fi
# performance of gprof
SrsGprof=""; SrsGprofLink=""; if [ $SRS_GPROF = YES ]; then SrsGprof=" -pg -lc_p"; SrsGprofLink=" -pg"; fi
# performance of gperf