freebsd-ports/games/heroes/files/patch-configure

33 lines
727 B
Text
Raw Normal View History

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