$OpenBSD: patch-configure,v 1.3 2013/03/22 16:25:44 naddy Exp $
--- configure.orig	Fri Mar 22 17:14:31 2013
+++ configure	Fri Mar 22 17:15:11 2013
@@ -4390,15 +4390,13 @@ fi
 
 if test "$use_debug" = "yes"; then
 	CFLAGS="${CFLAGS} -g -DENABLE_DEBUG"
-else
-	CFLAGS="${CFLAGS} -O3"
 fi
 
 # Choosing the target
 TARGET="static"
 if test "$build_shared" = "yes"; then
 	CFLAGS="$CFLAGS -fpic"
-	TARGET="shared"
+	TARGET="static shared"
 fi
 
 if test "$use_ipv6" = "yes"; then
