$OpenBSD: patch-configure,v 1.5 2019/06/23 09:22:19 fcambus Exp $
Index: configure
--- configure.orig
+++ configure
@@ -594,19 +594,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
 
 
