another variable to clear out before configuring mxml
authorKevin P. Fleming <kpfleming@digium.com>
Mon, 21 Aug 2006 20:18:36 +0000 (20:18 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Mon, 21 Aug 2006 20:18:36 +0000 (20:18 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40791 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index 2fb03eb..f214039 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -650,7 +650,7 @@ menuselect/menuselect: makeopts menuselect/menuselect.c menuselect/menuselect_cu
        @CFLAGS="-include $(ASTTOPDIR)/include/asterisk/autoconfig.h -I$(ASTTOPDIR)/include" PARENTSRC="$(ASTTOPDIR)" $(MAKE) -C menuselect CC="$(HOST_CC)" menuselect
 
 mxml/libmxml.a:
-       @cd mxml && unset CFLAGS AST_LIBS && test -f config.h || ./configure --build=$(BUILD_PLATFORM) --host=$(BUILD_PLATFORM)
+       @cd mxml && unset CC CFLAGS AST_LIBS && test -f config.h || ./configure --build=$(BUILD_PLATFORM) --host=$(BUILD_PLATFORM)
        $(MAKE) -C mxml libmxml.a
 
 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