--- configure.in +++ configure.in @@ -27601,37 +27601,10 @@ CFLAGS="$CFLAGS -pipe -Wall -fno-strict-aliasing" CXXFLAGS="$CXXFLAGS -pipe -Wall -fno-exceptions" -if test "$gambas_prof" = "yes"; then - CFLAGS="$CFLAGS -pg" - CXXFLAGS="$CXXFLAGS -pg" - -# if test "$gambas_optimization" = "yes"; then -# echo -e "\n**** Warning: --enable-profiling implies --disable-optimization\n" -# gambas_optimization="no"; -# fi - -fi - -if test "$gambas_debug" = "yes"; then - CFLAGS="$CFLAGS -g" - CXXFLAGS="$CXXFLAGS -g" -fi - # gambas_flag="-O2 -fstrength-reduce -frerun-loop-opt -fexpensive-optimizations -fschedule-insns2 -funroll-loops" # gambas_flags="$gambas_flags -fno-strict-aliasing -falign-loops=2 -falign-jumps=2" # gambas_flags="$gambas_flags -falign-functions=2 -ffast-math" -if test "$gambas_prof" = "no"; then - gambas_flags="$gambas_flags -fomit-frame-pointer" -fi - -if test "x$gambas_optimization" = "xyes"; then - CFLAGS="$CFLAGS -Os" - CXXFLAGS="$CXXFLAGS -Os -fno-omit-frame-pointer" -else - CFLAGS="$CFLAGS -O0" - CXXFLAGS="$CXXFLAGS -O0" -fi