[asterisk-commits] tilghman: branch 1.4 r268050 - in /branches/1.4: Makefile makeopts.in

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jun 4 14:39:01 CDT 2010


Author: tilghman
Date: Fri Jun  4 14:38:57 2010
New Revision: 268050

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=268050
Log:
Build menuselect with the build environment's compiler, not the host (target)'s compiler.

(closes issue #17464)
 Reported by: pprindeville
 Tested by: tilghman

Modified:
    branches/1.4/Makefile
    branches/1.4/makeopts.in

Modified: branches/1.4/Makefile
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/Makefile?view=diff&rev=268050&r1=268049&r2=268050
==============================================================================
--- branches/1.4/Makefile (original)
+++ branches/1.4/Makefile Fri Jun  4 14:38:57 2010
@@ -57,6 +57,7 @@
 export AR
 export RANLIB
 export HOST_CC
+export BUILD_CC
 export STATIC_BUILD
 export INSTALL
 export DESTDIR
@@ -783,7 +784,7 @@
 	- at menuselect/nmenuselect menuselect.makeopts && (echo "menuselect changes saved!"; rm -f channels/h323/Makefile.ast main/asterisk) || echo "menuselect changes NOT saved!"
 
 # options for make in menuselect/
-MAKE_MENUSELECT=CC="$(HOST_CC)" CXX="$(CXX)" LD="" AR="" RANLIB="" CFLAGS="" $(MAKE) -C menuselect CONFIGURE_SILENT="--silent"
+MAKE_MENUSELECT=CC="$(BUILD_CC)" CXX="" LD="" AR="" RANLIB="" CFLAGS="" $(MAKE) -C menuselect CONFIGURE_SILENT="--silent"
 
 menuselect/menuselect: menuselect/makeopts
 	+$(MAKE_MENUSELECT) menuselect

Modified: branches/1.4/makeopts.in
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/makeopts.in?view=diff&rev=268050&r1=268049&r2=268050
==============================================================================
--- branches/1.4/makeopts.in (original)
+++ branches/1.4/makeopts.in Fri Jun  4 14:38:57 2010
@@ -4,6 +4,7 @@
 
 CC=@PTHREAD_CC@
 HOST_CC=cc
+BUILD_CC=cc
 CXX=@CXX@
 
 INSTALL=@INSTALL@




More information about the asterisk-commits mailing list