$OpenBSD: patch-configure,v 1.3 2014/10/12 13:26:16 bcallah Exp $
--- configure.orig	Sat Oct 11 17:32:31 2014
+++ configure	Sat Oct 11 17:32:49 2014
@@ -597,19 +597,6 @@ fi
 rm -f _testprog _testprog.error _testprog.stdout
 
 
-#  -O optimization for non-debug builds. Try -O and -O3.
-if [ ! z"$DEBUG" = zYES ]; then
-	$CXX $CXXFLAGS -O _testprog.cc -o _testprog 2> /dev/null
-	if [ -x _testprog ]; then
-		rm -f _testprog
-		$CXX $CXXFLAGS -O3 _testprog.cc -o _testprog 2> /dev/null
-		if [ -x _testprog ]; then
-			CXXFLAGS="-O3 $CXXFLAGS"
-		else
-			CXXFLAGS="-O $CXXFLAGS"
-		fi
-	fi
-fi
 rm -f _testprog
 
 
