From 16cde27a1e3bbe30558b041df8d7a6d81a535929 Mon Sep 17 00:00:00 2001 From: winlin Date: Wed, 1 Mar 2017 12:39:42 +0800 Subject: [PATCH] Remove MacOS compile option, for it's on use. It's caused by paralell make --- trunk/configure | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/trunk/configure b/trunk/configure index e2b432514..e4a2060e8 100755 --- a/trunk/configure +++ b/trunk/configure @@ -95,17 +95,12 @@ CppStd="-ansi" if [[ $SRS_EXPORT_LIBRTMP_PROJECT == YES ]]; then LibraryCompile=" -fPIC" fi -# For MacOS, disable the link warnings: -# srs_librtmp.a(srs_kernel_io.o) unable to open object file: No such file or directory -if [[ $SRS_OSX == YES ]]; then - CxxMacOS=" -D GCC_GENERATE_DEBUGGING_SYMBOLS=no" -fi # performance of gprof SrsGprof=""; SrsGprofLink=""; if [ $SRS_GPROF = YES ]; then SrsGprof=" -pg -lc_p"; SrsGprofLink=" -pg"; fi # performance of gperf SrsGperf=""; SrsGperfLink=""; if [ $SRS_GPERF = YES ]; then SrsGperfLink=" -lpthread"; fi # the cxx flag generated. -CXXFLAGS="${CppStd}${WarnLevel}${GDBDebug}${LibraryCompile}${SrsGprof}${CxxMacOS}" +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 # Start to generate the Makefile. cat << END > ${SRS_OBJS}/${SRS_MAKEFILE}