diff --git a/debian/resources/switch/source-release.sh b/debian/resources/switch/source-release.sh index e9795631..9e39d761 100755 --- a/debian/resources/switch/source-release.sh +++ b/debian/resources/switch/source-release.sh @@ -142,8 +142,7 @@ sed -i /usr/src/freeswitch-$switch_version/modules.conf -e s:'endpoints/mod_vert --with-openssl --enable-core-pgsql-support # compile and install -make -j $(getconf _NPROCESSORS_ONLN) -make install +make -j $(getconf _NPROCESSORS_ONLN) CFLAGS+=-Wno-error && make install #return to the executing directory cd $CWD diff --git a/ubuntu/resources/switch/source-release.sh b/ubuntu/resources/switch/source-release.sh index 3db771b0..680b8c2e 100755 --- a/ubuntu/resources/switch/source-release.sh +++ b/ubuntu/resources/switch/source-release.sh @@ -74,7 +74,7 @@ mv freeswitch-$switch_version.-release freeswitch-$switch_version cd /usr/src/freeswitch-$switch_version # bootstrap is needed if using git -./bootstrap.sh -j +#./bootstrap.sh -j #1.10.0 and newer if [ $(echo "$switch_version" | tr -d '.') -gt 1100 ]; then @@ -109,8 +109,7 @@ sed -i /usr/src/freeswitch-$switch_version/modules.conf -e s:'applications/mod_a --with-openssl --enable-core-pgsql-support # compile and install -make -make install +make -j $(getconf _NPROCESSORS_ONLN) CFLAGS+=-Wno-error && make install #return to the executing directory cd $CWD