From 3ba8e0a9736ce41e146418de7c7fbcf4c8f25bc4 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Sat, 26 Aug 2006 17:05:38 +0000 Subject: ensure that cross-compiler info is removed from the enviroment before configuring menuselect ensure that the user's LDFLAGS take precedence when linking the final binary git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41178 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index dd6a9ff8e..e3ef712aa 100644 --- a/Makefile +++ b/Makefile @@ -647,7 +647,7 @@ menuselect: menuselect/menuselect menuselect-tree -@menuselect/menuselect $(GLOBAL_MAKEOPTS) $(USER_MAKEOPTS) menuselect.makeopts && echo "menuselect changes saved!" || 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 - @$(MAKE) -C menuselect + @unset CC LD AR RANLIB && $(MAKE) -C menuselect 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 ..." -- cgit v1.2.3