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

For #1537, #1282, support --extra-flags for unknown CPU arch.

This commit is contained in:
winlin 2019-12-25 15:46:58 +08:00
parent 71810c0209
commit a0c631de9f
3 changed files with 16 additions and 2 deletions

4
trunk/configure vendored
View file

@ -118,6 +118,10 @@ fi
if [[ $SRS_GCOV == YES ]]; then
CXXFLAGS="${CXXFLAGS} ${SrsGcov}";
fi
# User configed options.
if [[ $SRS_EXTRA_CFLAGS != '' ]]; then
CXXFLAGS="${CXXFLAGS} $SRS_EXTRA_CFLAGS";
fi
# Start to generate the Makefile.
cat << END >> ${SRS_OBJS}/${SRS_MAKEFILE}
GCC = gcc