openbsd-ports/net/tor/patches/patch-configure

13 lines
444 B
Plaintext

$OpenBSD: patch-configure,v 1.7 2007/11/04 08:39:20 rui Exp $
--- configure.orig Sun Oct 28 11:18:29 2007
+++ configure Thu Nov 1 13:44:09 2007
@@ -17576,7 +17576,7 @@ _ACEOF
# Set CFLAGS _after_ all the above checks, since our warnings are stricter
# than autoconf's macros like.
if test $ac_cv_c_compiler_gnu = yes; then
- CFLAGS="$CFLAGS -Wall -g -O2"
+ CFLAGS="$CFLAGS -Wall"
else
CFLAGS="$CFLAGS -g -O"
enable_gcc_warnings=no