From c82ed4af0e77654f5476a2e222a5d7abdac80c43 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara <vittorio.giovara@savoirfairelinux.com> Date: Fri, 25 Apr 2014 14:27:29 -0400 Subject: [PATCH] pjsip: allow compiling with clang Change-Id: Ia5a017b8216fca93f7401594670d8d8623d28715 Refs: #46066 --- daemon/libs/compile_pjsip.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/daemon/libs/compile_pjsip.sh b/daemon/libs/compile_pjsip.sh index a957bd200e..ffdb3e2e46 100755 --- a/daemon/libs/compile_pjsip.sh +++ b/daemon/libs/compile_pjsip.sh @@ -9,6 +9,11 @@ then CONFIGURE=./configure-android # android doesn't need make MAKE="make dep" +elif [ "$1" == "-c" ] +then + export CC=clang + CONFIGURE=./configure + MAKE="make dep && make" else echo "Usage: $0 [or -a for android]" exit 1 -- GitLab