summaryrefslogtreecommitdiffhomepage
path: root/patches/libflac-1.4.3_pre.local.patch
blob: b0aee98fab4c4a7abd105848e2cda5d33c00133d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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