fix build where host and target arches are abi compatible (closes: #2411)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@8873 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
d358a2c520
commit
2b33ab1744
@ -79,8 +79,10 @@ $(call Package/asterisk-addons/Default/description)
|
||||
This package contains MySQL support modules for Asterisk.
|
||||
endef
|
||||
|
||||
|
||||
EXTRA_CFLAGS:=$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)
|
||||
EXTRA_LDFLAGS:=$(TARGET_LDFLAGS)
|
||||
|
||||
ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk14-mysql),)
|
||||
EXTRA_CFLAGS+= -I$(STAGING_DIR)/usr/include/mysql
|
||||
EXTRA_LDFLAGS+= -L$(STAGING_DIR)/usr/lib/mysql
|
||||
|
12
net/asterisk-addons-1.4.x/patches/021-cross_configure.patch
Normal file
12
net/asterisk-addons-1.4.x/patches/021-cross_configure.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ruN asterisk-addons-1.4.2-old/menuselect/Makefile asterisk-addons-1.4.2-new/menuselect/Makefile
|
||||
--- asterisk-addons-1.4.2-old/menuselect/Makefile 2007-06-06 00:01:45.000000000 +0200
|
||||
+++ asterisk-addons-1.4.2-new/menuselect/Makefile 2007-09-19 18:00:27.000000000 +0200
|
||||
@@ -42,7 +42,7 @@
|
||||
@$(MAKE) menuselect
|
||||
|
||||
autoconfig.h:
|
||||
- @./configure $(CONFIGURE_SILENT) CC= LD= AR=
|
||||
+ @./configure $(CONFIGURE_SILENT) CC= LD= AR= LDFLAGS=
|
||||
|
||||
_gmenuselect: autoconfig.h
|
||||
@$(MAKE) gmenuselect
|
Loading…
x
Reference in New Issue
Block a user