summaryrefslogtreecommitdiff
path: root/recipes/webrtc-audio-processing/0021-Use-no-undefined-to-support-both-clang-and-gcc.patch
blob: 812cd64dfd96da5c089e4c5488ea96116416ba8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 01ad1123b46a8a1dda8c56cf9f632ef73526196b Mon Sep 17 00:00:00 2001
From: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Date: Wed, 6 Jul 2016 13:44:15 -0400
Subject: [PATCH 2/3] Use -no-undefined to support both clang and gcc

---
 webrtc/modules/audio_processing/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/webrtc/modules/audio_processing/Makefile.am b/webrtc/modules/audio_processing/Makefile.am
index de259f0..5a98913 100644
--- a/webrtc/modules/audio_processing/Makefile.am
+++ b/webrtc/modules/audio_processing/Makefile.am
@@ -175,7 +175,7 @@ libwebrtc_audio_processing_la_LIBADD = $(top_builddir)/webrtc/libwebrtc.la \
 				       $(LIBWEBRTC_PRIVATEARCH) \
 				       $(GNUSTL_LIBS)
 libwebrtc_audio_processing_la_LDFLAGS = $(AM_LDFLAGS) $(COMMON_LDFLAGS) \
-					-Wl,--no-undefined \
+					-no-undefined \
 					-version-info $(LIBWEBRTC_AUDIO_PROCESSING_VERSION_INFO)
 
 # FIXME: The MIPS optimisations need to be hooked up once we have the
-- 
2.7.4