compile_min.sh, add appropriate flags -O2, -s for release build
and drop
'-fno-omit-frame-pointer'. This entry compensates for a compiler bug of actual mingw gcc 4.6.1.
which was introduced in commit
commit 5b1be4d32d
Author: h_vogt <h_vogt>
Date: Sat Jan 28 09:59:27 2012 +0000
prepare for release 24
This commit is contained in:
parent
fc83bd099a
commit
7eba7a7a14
|
|
@ -51,14 +51,14 @@ if test "$1" = "64"; then
|
|||
echo "configuring for 64 bit"
|
||||
echo
|
||||
# You may add --enable-adms to the following command for adding adms generated devices
|
||||
../configure --with-wingui --enable-xspice --enable-cider --enable-openmp --disable-debug prefix="C:/Spice64" CFLAGS="-m64 -fno-omit-frame-pointer" LDFLAGS="-m64"
|
||||
../configure --with-wingui --enable-xspice --enable-cider --enable-openmp --disable-debug prefix="C:/Spice64" CFLAGS="-m64 -O2" LDFLAGS="-m64 -s"
|
||||
else
|
||||
cd release
|
||||
if [ $? -ne 0 ]; then echo "cd release failed"; exit 1 ; fi
|
||||
echo "configuring for 32 bit"
|
||||
echo
|
||||
# You may add --enable-adms to the following command for adding adms generated devices
|
||||
../configure --with-wingui --enable-xspice --enable-cider --enable-openmp --disable-debug prefix="C:/Spice" CFLAGS="-m32 -fno-omit-frame-pointer" LDFLAGS="-m32"
|
||||
../configure --with-wingui --enable-xspice --enable-cider --enable-openmp --disable-debug prefix="C:/Spice" CFLAGS="-m32 -O2" LDFLAGS="-m32 -s"
|
||||
fi
|
||||
if [ $? -ne 0 ]; then echo "../configure failed"; exit 1 ; fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue