$OpenBSD: patch-configure,v 1.4 2018/11/20 08:20:39 fcambus Exp $
Index: configure
--- configure.orig
+++ configure
@@ -580,19 +580,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
 
 
