[asterisk-commits] file: branch 1.4 r48571 - /branches/1.4/Makefile

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Dec 18 20:46:12 MST 2006


Author: file
Date: Mon Dec 18 21:46:12 2006
New Revision: 48571

URL: http://svn.digium.com/view/asterisk?view=rev&rev=48571
Log:
Use env -i to start a fresh environment when going to build menuselect. This is more portable then using unset. (issue #8543 reported by jtodd)

Modified:
    branches/1.4/Makefile

Modified: branches/1.4/Makefile
URL: http://svn.digium.com/view/asterisk/branches/1.4/Makefile?view=diff&rev=48571&r1=48570&r2=48571
==============================================================================
--- branches/1.4/Makefile (original)
+++ branches/1.4/Makefile Mon Dec 18 21:46:12 2006
@@ -671,7 +671,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"
+	@env -i && $(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