From: xuhy Date: Wed, 10 Apr 2024 03:21:54 +0000 (+0800) Subject: Fix build error because of too many levels of recursion X-Git-Tag: accepted/tools/devbase/tools/legacy/20250527.042601^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ad9f78e8f792a257d704521971b965db49372dbe;p=services%2Fzstd.git Fix build error because of too many levels of recursion Change-Id: I0abe6aca69b1b76934fed9f2c866fb947da006cd Signed-off-by: xuhy --- diff --git a/packaging/zstd.spec b/packaging/zstd.spec index c58f742..d4a05c0 100644 --- a/packaging/zstd.spec +++ b/packaging/zstd.spec @@ -85,7 +85,7 @@ Needed for compiling programs that link with the library. %patch1 -p1 %build -%global _lto_cflags %{_lto_cflags} -ffat-lto-objects +%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects export CFLAGS="%{optflags}" export CXXFLAGS="%{optflags} -std=c++11" for dir in lib programs contrib/pzstd; do