fix build where host and target arches are abi compatible (closes: #2411)
[openwrt/svn-archive/archive.git] / net / asterisk-addons-1.4.x / patches / 021-cross_configure.patch
1 diff -ruN asterisk-addons-1.4.2-old/menuselect/Makefile asterisk-addons-1.4.2-new/menuselect/Makefile
2 --- asterisk-addons-1.4.2-old/menuselect/Makefile 2007-06-06 00:01:45.000000000 +0200
3 +++ asterisk-addons-1.4.2-new/menuselect/Makefile 2007-09-19 18:00:27.000000000 +0200
4 @@ -42,7 +42,7 @@
5 @$(MAKE) menuselect
6
7 autoconfig.h:
8 - @./configure $(CONFIGURE_SILENT) CC= LD= AR=
9 + @./configure $(CONFIGURE_SILENT) CC= LD= AR= LDFLAGS=
10
11 _gmenuselect: autoconfig.h
12 @$(MAKE) gmenuselect