
$FreeBSD: ports/games/heroes/files/patch-configure,v 1.2 2002/04/06 13:30:31 sobomax Exp $

--- configure.orig	Sat Mar 30 19:36:16 2002
+++ configure	Sat Apr  6 16:11:51 2002
@@ -13339,7 +13339,7 @@
         CFLAGS="$CFLAGS -ggdb3"
       else
         if test "${ac_cv_prog_cc_g}" = yes; then
-          CFLAGS="$CFLAGS -g"
+          CFLAGS="$CFLAGS"
         fi
       fi
       ;;
@@ -13347,7 +13347,7 @@
       ;;
     *)
       if test "${ac_cv_prog_cc_g}" = yes; then
-        CFLAGS="$CFLAGS -g"
+        CFLAGS="$CFLAGS"
       fi
       ;;
   esac
@@ -13367,7 +13367,7 @@
 int main(int argc, char *argv[]) { return argv[argc-1] == 0; }
 EOF
     cf_save_CFLAGS="$CFLAGS"
-  ac_cv_prog_gcc_opt_flags="-O3"
+  ac_cv_prog_gcc_opt_flags=""
   for cf_opt in \
     ffast-math \
     fstrict-aliasing \
