[asterisk] do not pass in --host %configure macro does the right thing and tehre is no need, fixes FTBFS on arm

Dennis Gilmore ausil at fedoraproject.org
Mon Nov 24 03:28:41 UTC 2014


commit 585a5b6d45c4b18a6967f1d5488750aaad53fb70
Author: Dennis Gilmore <dennis at ausil.us>
Date:   Sun Nov 23 21:27:36 2014 -0600

    do not pass in --host %configure macro does the right thing and tehre is no need, fixes FTBFS on arm

 asterisk.spec |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/asterisk.spec b/asterisk.spec
index c1ac169..0c01215 100644
--- a/asterisk.spec
+++ b/asterisk.spec
@@ -703,7 +703,7 @@ aclocal -I ../autoconf --force
 autoconf --force
 autoheader --force
 
-%configure --host=%{_target_platform}
+%configure
 
 popd
 
@@ -712,9 +712,9 @@ autoconf --force
 autoheader --force
 
 %if 0%{?fedora} > 0
-%configure --host=%{_target_platform} --with-imap=system --with-gsm=/usr --with-ilbc=/usr --with-libedit=yes --with-srtp LDFLAGS="%{ldflags}"
+%configure --with-imap=system --with-gsm=/usr --with-ilbc=/usr --with-libedit=yes --with-srtp LDFLAGS="%{ldflags}"
 %else
-%configure --host=%{_target_platform} --with-gsm=/usr --with-ilbc=/usr --with-libedit=yes --with-gmime=no --with-srtp LDFLAGS="%{ldflags}"
+%configure  --with-gsm=/usr --with-ilbc=/usr --with-libedit=yes --with-gmime=no --with-srtp LDFLAGS="%{ldflags}"
 %endif
 
 make %{?_smp_mflags} menuselect-tree NOISY_BUILD=1


More information about the scm-commits mailing list