From 0bc7ea119e9c0a9a383f0a0167f41034ab425015 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <randrianasulu@gmail.com>
Date: Fri, 16 Sep 2022 18:14:09 +0300
Subject: [PATCH 6/6] Fix optimization level for flac ?

---
 cinelerra-5.1/thirdparty/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cinelerra-5.1/thirdparty/Makefile b/cinelerra-5.1/thirdparty/Makefile
index 845c84f1..4811c3b3 100644
--- a/cinelerra-5.1/thirdparty/Makefile
+++ b/cinelerra-5.1/thirdparty/Makefile
@@ -199,6 +199,7 @@ djbfft.cfg_vars?=echo "$(call bld_path,djbfft)" > conf-home; \
 djbfft.mak_params?=; cd $(call bld_path,djbfft); ln -sf djbfft.a libdjbfft.a
 audiofile.cfg_params?=--enable-shared=no
 audiofile.mak_params?=LIBS="-lm -lstdc++"
+flac.cfg_vars?= CFLAGS+=" -O3 -funroll-loops"
 flac.cfg_params?= --enable-shared=no
 flac.cflags?="$(call inc_path,libogg) $(call ld_path,libogg,src/.libs)"
 ffnvcodec.cfg_vars=echo "exec true" > ./configure; chmod +x ./configure;
-- 
2.37.3

