[asterisk-commits] kpfleming: branch 1.4 r49099 - /branches/1.4/Makefile

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Jan 1 15:48:04 MST 2007


Author: kpfleming
Date: Mon Jan  1 16:48:03 2007
New Revision: 49099

URL: http://svn.digium.com/view/asterisk?view=rev&rev=49099
Log:
use a simpler (and portable) method to ensure that menuselect is built as a host binary

Modified:
    branches/1.4/Makefile

Modified: branches/1.4/Makefile
URL: http://svn.digium.com/view/asterisk/branches/1.4/Makefile?view=diff&rev=49099&r1=49098&r2=49099
==============================================================================
--- branches/1.4/Makefile (original)
+++ branches/1.4/Makefile Mon Jan  1 16:48:03 2007
@@ -672,7 +672,7 @@
 	- at menuselect/menuselect $(GLOBAL_MAKEOPTS) $(USER_MAKEOPTS) menuselect.makeopts && (echo "menuselect changes saved!"; rm -f channels/h323/Makefile.ast main/asterisk) || echo "menuselect changes NOT saved!"
 
 menuselect/menuselect: makeopts menuselect/menuselect.c menuselect/menuselect_curses.c menuselect/menuselect_stub.c menuselect/menuselect.h menuselect/linkedlists.h makeopts
-	@unset CC LD AR RANLIB && $(MAKE) -C menuselect CONFIGURE_SILENT="--silent"
+	@CC="$(HOST_CC)" LD="" AR="" RANLIB="" $(MAKE) -C menuselect CONFIGURE_SILENT="--silent"
 
 menuselect-tree: $(foreach dir,$(filter-out main,$(MOD_SUBDIRS)),$(wildcard $(dir)/*.c) $(wildcard $(dir)/*.cc)) build_tools/cflags.xml sounds/sounds.xml build_tools/embed_modules.xml
 	@echo "Generating input for menuselect ..."



More information about the asterisk-commits mailing list