From 015e76cb3f3f634d5db4df59ffe13f4a851d2c1c Mon Sep 17 00:00:00 2001 From: RocFang Date: Mon, 1 Jan 2018 22:57:44 +0800 Subject: [PATCH] Update configure (#1033) allow user to add some specific flags. --- trunk/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/configure b/trunk/configure index 425b9b0f1..eecba9cab 100755 --- a/trunk/configure +++ b/trunk/configure @@ -94,7 +94,7 @@ SrsGprof=""; SrsGprofLink=""; if [ $SRS_GPROF = YES ]; then SrsGprof=" -pg -lc_p # performance of gperf SrsGperf=""; SrsGperfLink=""; if [ $SRS_GPERF = YES ]; then SrsGperfLink=" -lpthread"; fi # the cxx flag generated. -CXXFLAGS="${CppStd}${WarnLevel}${GDBDebug}${LibraryCompile}${SrsGprof}" +CXXFLAGS="${CXXFLAGS} ${CppStd}${WarnLevel}${GDBDebug}${LibraryCompile}${SrsGprof}" if [ $SRS_GPERF = YES ]; then CXXFLAGS="${CXXFLAGS} -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free"; fi cat << END > ${SRS_OBJS}/${SRS_MAKEFILE} GCC = gcc