From 0917cb939aa808ea908af3dc819cf9287ddf5165 Mon Sep 17 00:00:00 2001 From: Jaechul Lee Date: Wed, 13 Dec 2023 13:58:29 +0900 Subject: [PATCH] Add build options to the .pc file Added build options to the pkgconfig file. This build error only happened when building license platform only build. [Version] 0.3.1-2 [Issue Type] Build error Change-Id: I0deedb8b188071c10a0d2d82bda21a18563923dc Signed-off-by: Jaechul Lee --- packaging/webrtc-audio-processing.spec | 2 +- webrtc-audio-processing.pc.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/webrtc-audio-processing.spec b/packaging/webrtc-audio-processing.spec index f4489c4..52bf70d 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: 1 +Release: 2 Summary: Library for echo cancellation License: BSD-3-Clause URL: http://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/ diff --git a/webrtc-audio-processing.pc.in b/webrtc-audio-processing.pc.in index aa18ddc..43bb608 100644 --- a/webrtc-audio-processing.pc.in +++ b/webrtc-audio-processing.pc.in @@ -7,4 +7,4 @@ Name: webrtc-audio-processing Description: WebRTC Audio Processing library Version: @PACKAGE_VERSION@ Libs: -L${libdir} -lwebrtc_audio_processing -Cflags: -DWEBRTC_AUDIO_PROCESSING_ONLY_BUILD -I${includedir}/webrtc_audio_processing @PLATFORM_CFLAGS@ +Cflags: -Wno-error=shadow -Wno-error=missing-field-initializers -Wno-error=class-memaccess -DWEBRTC_AUDIO_PROCESSING_ONLY_BUILD -I${includedir}/webrtc_audio_processing @PLATFORM_CFLAGS@ -- 2.7.4