From: Kevin P. Fleming Date: Mon, 1 Jan 2007 22:08:24 +0000 (+0000) Subject: revert this change until a better solution can be found... 'env -i' was not being... X-Git-Tag: 1.4.1~353 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6e45c965e1e75801511b1df74b7950ca34ee6966;p=thirdparty%2Fasterisk.git revert this change until a better solution can be found... 'env -i' was not being used properly, but even when changed to do so, this process fails during cross-compilation because the menuselect build still sees 'CC' as set to the cross-compiler git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49098 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/Makefile b/Makefile index c4a058a78e..461db28987 100644 --- a/Makefile +++ b/Makefile @@ -672,7 +672,7 @@ menuselect: menuselect/menuselect menuselect-tree -@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 - @env -i && $(MAKE) -C menuselect CONFIGURE_SILENT="--silent" + @unset 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 ..."