wvdial: disabled problematic compiler optimizations, fix for FS#858

This commit is contained in:
Juergen Daubert 2012-11-13 17:50:24 +01:00
parent 7e955ec22d
commit 9d943bdc63

View File

@ -5,7 +5,7 @@
name=wvdial
version=1.61
release=4
release=5
source=(http://wvstreams.googlecode.com/files/$name-$version.tar.gz \
http://wvstreams.googlecode.com/files/wvstreams-4.6.1.tar.gz \
$name-$version.patch wvstreams-4.6.1-openssl.patch \
@ -17,7 +17,7 @@ build() {
patch -p1 -i $SRC/wvstreams-4.6.1-include_stat.patch
patch -p1 -i $SRC/wvstreams-4.6.1-gcc47.patch
./configure --prefix=/usr --without-{pam,tcl,qt,dbus}
make -j1
make -j1 CXXOPTS='-fno-tree-dce -fno-optimize-sibling-calls -fPIC -DPIC' COPTS='-O2 -fPIC -DPIC'
cd $SRC/$name-$version
patch -p1 -i $SRC/$name-$version.patch