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:
parent
31ff84c82d
commit
db8d91cbee
3 changed files with 18 additions and 0 deletions
3
trunk/configure
vendored
3
trunk/configure
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue