diff -ru flac-1.4.3.orig/configure flac-1.4.3/configure
--- flac-1.4.3.orig/configure 2023-06-22 10:50:43.581743622 +0200
+++ flac-1.4.3/configure 2023-06-26 21:27:46.664311640 +0200
@@ -21401,13 +21401,6 @@
if test x$ac_cv_c_compiler_gnu = xyes -o x$xiph_cv_c_compiler_clang = xyes ; then
- if test "x${ax_enable_debug}" = "xno"
-then :
-
- CFLAGS="-O3 -funroll-loops $CFLAGS"
- CXXFLAGS="-O3 $CXXFLAGS"
-
-fi
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
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