Commit 4c9bce39 authored by Andreas Freise's avatar Andreas Freise

small cleanup for finesse.sh

parent 822789ed
......@@ -224,13 +224,6 @@ build()
fi
fi
#------------ don't know why this is here ---------------------
#gsl_libpath=`gsl-config --libs | cut -d " " -f1`
#gsl_libpath=${gsl_libpath#-L}
#gsl_libpath=${gsl_libpath#-l}
# Setting GSL_LIBS flags to allow static linking
#export GSL_LIBS="$gsl_libpath/libgslcblas.a $gsl_libpath/libgsl.a"
echo "Calling make file, see make.log for more details..."
echo ""
......@@ -447,10 +440,10 @@ case "$1" in
"--remove")
echo "--remove is no longer used." | tee -a $LOGFILE
;;
"--clean")
"--clean")
TARGET=$TARGET_CLEAN
;;
"--make-win-package")
"--make-win-package")
make-win-package
exit 0
;;
......@@ -462,8 +455,6 @@ esac
# here we go...
#export OPTIM_CFLAGS="-mfpmath=sse -O3 -ffast-math -Wall -fexpensive-optimizations -fomit-frame-pointer -funroll-loops -DNDEBUG "
if ( cc 2>&1 | grep clang >/dev/null ); then
echo "Setting optimisation flags for clang compiler"
export OPTIM_CFLAGS="-mfpmath=sse -O3 -fno-math-errno -ffinite-math-only -fno-trapping-math -fno-signed-zeros -Wall -Wextra -Wno-missing-field-initializers -fomit-frame-pointer -funroll-loops -DNDEBUG "
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment