packages/net/wing/patches/100-cross-compile.patch
mb 527c756fd1 wing: Attempt to fix cross compile issues.
The target build inherits configure properties from the host. This results in broken compile for an ARM target and PPC host. (and other combinations as well).
This tries to fix it. However, it still is not 100% safe. However, it does work on ARM/PPC with these changes.
We should either split this into host and target packages, or run a "make clean" between the host and target parts.


git-svn-id: svn://svn.openwrt.org/openwrt/packages@23376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-10 13:26:18 +00:00

22 lines
650 B
Diff

---
m4/click.m4 | 8 --------
1 file changed, 8 deletions(-)
--- wing-20100903.orig/m4/click.m4
+++ wing-20100903/m4/click.m4
@@ -235,14 +235,6 @@ AC_DEFUN([CLICK_CHECK_BUILD_DYNAMIC_LINK
if test "x$ac_build_have_dlopen" = xyes -a "x$ac_build_have_dlfcn_h" = xyes; then
ac_build_have_dynamic_linking=yes
fi
- if test "x$ac_build_have_dynamic_linking" != "x$ac_have_dynamic_linking"; then
- AC_MSG_ERROR([
-=========================================
-
-Build system and host system don't have the same dynamic linking state!
-
-=========================================])
- fi
AC_SUBST(BUILD_DL_LIBS)
eval "$saver"
])