--- asterisk-1.6.2.1/Makefile.rules.orig 2009-09-28 12:13:58.000000000 -0700 +++ asterisk-1.6.2.1/Makefile.rules 2010-01-24 19:53:53.000000000 -0800 @@ -17,6 +17,11 @@ -include $(ASTTOPDIR)/makeopts +# start the primary CFLAGS and LDFLAGS with any that were provided +# to the configure script +_ASTCFLAGS:=$(CONFIG_CFLAGS) +_ASTLDFLAGS:=$(CONFIG_LDFLAGS) + .PHONY: dist-clean # If 'make' decides to create intermediate files to satisfy a build requirement