kopia lustrzana https://github.com/jamescoxon/dl-fldigi
Remove -fomit-frame-pointer flag
This seems to give only a very small speedup (1-3% in DominoEX/Thor and Olivia) and makes debugging impossible on x86.pull/2/head
rodzic
c5ca09a241
commit
7ac0fd5687
|
@ -83,7 +83,7 @@ AC_DEFUN([AC_FLDIGI_DEBUG], [
|
||||||
gflag="-g"
|
gflag="-g"
|
||||||
fi
|
fi
|
||||||
AC_MSG_RESULT([$gflag])
|
AC_MSG_RESULT([$gflag])
|
||||||
DEBUG_CFLAGS="-O0 -fno-inline-functions -fno-omit-frame-pointer $gflag -Wall"
|
DEBUG_CFLAGS="-O0 -fno-inline-functions $gflag -Wall"
|
||||||
|
|
||||||
AC_FLDIGI_RDYNAMIC
|
AC_FLDIGI_RDYNAMIC
|
||||||
if test "x$ac_cv_rdynamic" = "xyes"; then
|
if test "x$ac_cv_rdynamic" = "xyes"; then
|
||||||
|
|
|
@ -7,7 +7,7 @@ AC_DEFUN([AC_FLDIGI_OPT], [
|
||||||
*) AC_MSG_ERROR([bad value ${enableval} for --enable-optimizations]) ;;
|
*) AC_MSG_ERROR([bad value ${enableval} for --enable-optimizations]) ;;
|
||||||
esac],
|
esac],
|
||||||
[ac_cv_opt=none])
|
[ac_cv_opt=none])
|
||||||
OPT_CFLAGS="-O2 -ffast-math -finline-functions -fomit-frame-pointer"
|
OPT_CFLAGS="-O2 -ffast-math -finline-functions"
|
||||||
case "$ac_cv_opt" in
|
case "$ac_cv_opt" in
|
||||||
sse)
|
sse)
|
||||||
OPT_CFLAGS="$OPT_CFLAGS -msse -mfpmath=sse"
|
OPT_CFLAGS="$OPT_CFLAGS -msse -mfpmath=sse"
|
||||||
|
|
Ładowanie…
Reference in New Issue