Add build options for fixing build errors 76/300776/4 accepted/tizen/unified/20231103.094545
authorJaechul Lee <jcsing.lee@samsung.com>
Thu, 2 Nov 2023 05:44:19 +0000 (14:44 +0900)
committerJaechul Lee <jcsing.lee@samsung.com>
Thu, 2 Nov 2023 06:20:46 +0000 (15:20 +0900)
[Version] 0.3.1-1
[Issue Type] Build error

Change-Id: I58aeffb51d97865c3fabde9d0da0c4e5d5ba2c5d
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
packaging/webrtc-audio-processing.spec

index 696a8d7..f4489c4 100644 (file)
@@ -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