summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/libflac-1.4.3_pre.local.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/patches/libflac-1.4.3_pre.local.patch b/patches/libflac-1.4.3_pre.local.patch
new file mode 100644
index 00000000..b0aee98f
--- /dev/null
+++ b/patches/libflac-1.4.3_pre.local.patch
@@ -0,0 +1,17 @@
+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