openbsd-ports/games/golly/patches/patch-configure
bcallah d7e22aba02 Import games/golly, a game of life simulator.
Tweaks from jasper@
ok brad@ jasper@
2013-04-04 14:15:23 +00:00

57 lines
1.4 KiB
Plaintext

$OpenBSD: patch-configure,v 1.1.1.1 2013/04/04 14:15:23 bcallah Exp $
Don't force -O2.
--- configure.orig Tue Jun 12 21:37:37 2012
+++ configure Sat Feb 16 08:53:34 2013
@@ -3786,17 +3786,9 @@ $as_echo "$ac_cv_prog_cxx_g" >&6; }
if test "$ac_test_CXXFLAGS" = set; then
CXXFLAGS=$ac_save_CXXFLAGS
elif test $ac_cv_prog_cxx_g = yes; then
- if test "$GXX" = yes; then
- CXXFLAGS="-g -O2"
- else
- CXXFLAGS="-g"
- fi
+ CXXFLAGS="-g"
else
- if test "$GXX" = yes; then
- CXXFLAGS="-O2"
- else
- CXXFLAGS=
- fi
+ CXXFLAGS=
fi
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
@@ -4523,17 +4515,9 @@ $as_echo "$ac_cv_prog_cc_g" >&6; }
if test "$ac_test_CFLAGS" = set; then
CFLAGS=$ac_save_CFLAGS
elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
+ CFLAGS="-g"
else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
+ CFLAGS=
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
@@ -6108,9 +6092,6 @@ $as_echo "$WX_PORT" >&6; }
if test "$DEBUG" = "1"; then
CXXFLAGS="$CXXFLAGS -g -O0"
CFLAGS="$CFLAGS -g -O0"
- else
- CXXFLAGS="$CXXFLAGS -O2"
- CFLAGS="$CFLAGS -O2"
fi
if test "x$WX_RESCOMP" != x; then