From: Jaechul Lee Date: Thu, 2 Nov 2023 05:44:19 +0000 (+0900) Subject: Add build options for fixing build errors X-Git-Tag: accepted/tizen/unified/20231103.094545^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F76%2F300776%2F4;p=platform%2Fupstream%2Fwebrtc-audio-processing.git Add build options for fixing build errors [Version] 0.3.1-1 [Issue Type] Build error Change-Id: I58aeffb51d97865c3fabde9d0da0c4e5d5ba2c5d Signed-off-by: Jaechul Lee --- diff --git a/packaging/webrtc-audio-processing.spec b/packaging/webrtc-audio-processing.spec index 696a8d7..f4489c4 100644 --- a/packaging/webrtc-audio-processing.spec +++ b/packaging/webrtc-audio-processing.spec @@ -1,6 +1,6 @@ Name: webrtc-audio-processing Version: 0.3.1 -Release: 0 +Release: 1 Summary: Library for echo cancellation License: BSD-3-Clause URL: http://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/ @@ -25,6 +25,10 @@ files for developing applications that use %{name}. cp %{SOURCE1} . %build +%if "%{tizen_profile_name}" == "tv" +export CFLAGS="$CFLAGS -Wno-error=shadow -Wno-error=missing-field-initializers -Wno-error=class-memaccess" +export CXXFLAGS="$CXXFLAGS -Wno-error=shadow -Wno-error=missing-field-initializers -Wno-error=class-memaccess" +%endif ./autogen.sh