diff -Nru asterisk-addons-1.4.5.org/menuselect/Makefile asterisk-addons-1.4.5/menuselect/Makefile
--- asterisk-addons-1.4.5.org/menuselect/Makefile	2007-11-21 01:17:33.000000000 +0100
+++ asterisk-addons-1.4.5/menuselect/Makefile	2007-12-20 22:47:17.000000000 +0100
@@ -51,7 +51,7 @@
 $(OBJS) menuselect_gtk.o menuselect_curses.o menuselect_stub.o: autoconfig.h menuselect.h
 
 makeopts autoconfig.h: autoconfig.h.in makeopts.in
-	@./configure $(CONFIGURE_SILENT) CC= LD= AR= CFLAGS=
+	@./configure $(CONFIGURE_SILENT) CC= LD= AR= CFLAGS= LDFLAGS=
 
 menuselect gmenuselect: mxml/libmxml.a
 
