$OpenBSD: patch-MediaInfoLib_Project_GNU_Library_configure,v 1.7 2018/10/02 21:06:29 naddy Exp $
Index: MediaInfoLib/Project/GNU/Library/configure
--- MediaInfoLib/Project/GNU/Library/configure.orig
+++ MediaInfoLib/Project/GNU/Library/configure
@@ -18851,9 +18851,6 @@ if test "$GXX" = yes ; then
 	if test "$enable_debug" = "yes"; then
 		CFLAGS="$CFLAGS -O0 -g -Wall -Wundef"
 		CXXFLAGS="$CXXFLAGS -O0 -g -Wall -W -Wundef -Wcast-qual -Wno-ctor-dtor-privacy"
-	else
-		CFLAGS="$CFLAGS -O2"
-		CXXFLAGS="$CXXFLAGS -O2"
 	fi
 	if test "$enable_gprof" = "yes"; then
 		CFLAGS="$CFLAGS -pg -g"
