You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
438 B

  1. OpenWrt (modification):
  2. Fix cross compile errors by inserting an environment variable for the
  3. target. Use "uname" on host only if "UNAME" variable is empty.
  4. --- a/configure.ac
  5. +++ b/configure.ac
  6. @@ -815,7 +815,7 @@ if test x_$ub_test_python != x_no; then
  7. fi
  8. fi
  9. -if test "`uname`" = "NetBSD"; then
  10. +if test "${UNAME:-`uname`}" = "NetBSD"; then
  11. NETBSD_LINTFLAGS='"-D__RENAME(x)=" -D_NETINET_IN_H_'
  12. AC_SUBST(NETBSD_LINTFLAGS)
  13. fi