Blame patches/libflac-1.4.3_pre.local.patch

ad765d
diff -ru flac-1.4.3.orig/configure flac-1.4.3/configure
ad765d
--- flac-1.4.3.orig/configure	2023-06-22 10:50:43.581743622 +0200
ad765d
+++ flac-1.4.3/configure	2023-06-26 21:27:46.664311640 +0200
ad765d
@@ -21401,13 +21401,6 @@
ad765d
 
ad765d
 
ad765d
 if test x$ac_cv_c_compiler_gnu = xyes -o x$xiph_cv_c_compiler_clang = xyes ; then
ad765d
-		if test "x${ax_enable_debug}" = "xno"
ad765d
-then :
ad765d
-
ad765d
-		CFLAGS="-O3 -funroll-loops $CFLAGS"
ad765d
-		CXXFLAGS="-O3 $CXXFLAGS"
ad765d
-
ad765d
-fi
ad765d
 
ad765d
 	CFLAGS="$CFLAGS -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wnested-externs -Wshadow -Wundef -Wmissing-declarations -Winline " # -Wcast-qual -Wbad-function-cast -Wwrite-strings -Wconversion
ad765d
 	CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wcast-align -Wshadow -Wwrite-strings -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Wsign-promo -Wundef " # -Wcast-qual -Wbad-function-cast -Wwrite-strings -Woverloaded-virtual -Wmissing-declarations