openbsd-ports/games/heroes/patches/patch-configure

22 lines
731 B
Plaintext

$OpenBSD: patch-configure,v 1.2 2001/08/12 06:22:18 pvalchev Exp $
--- configure.orig Wed May 23 00:50:33 2001
+++ configure Sat Aug 11 12:35:09 2001
@@ -9072,7 +9072,7 @@ fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
if test "$am_cv_func_iconv" != yes; then
am_save_LIBS="$LIBS"
- LIBS="$LIBS -liconv"
+ LIBS="$LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 9077 "configure"
#include "confdefs.h"
@@ -10010,8 +10010,6 @@ EOF
fi
echo "$as_me:10011: result: $ac_cv_prog_gcc_opt_flags" >&5
echo "${ECHO_T}$ac_cv_prog_gcc_opt_flags" >&6
-else
- CFLAGS="$CFLAGS -O"
fi
# Check whether --enable-warnings or --disable-warnings was given.
if test "${enable_warnings+set}" = set; then