2021-12-10 07:01:49 +00:00
|
|
|
OpenWrt (modification):
|
|
|
|
Fix cross compile errors by inserting an environment variable for the
|
|
|
|
target. Use "uname" on host only if "UNAME" variable is empty.
|
2021-06-16 10:58:31 +00:00
|
|
|
--- a/configure.ac
|
|
|
|
+++ b/configure.ac
|
2022-06-06 07:51:47 +00:00
|
|
|
@@ -812,7 +812,7 @@ if test x_$ub_test_python != x_no; then
|
2021-06-16 10:58:31 +00:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
-if test "`uname`" = "NetBSD"; then
|
|
|
|
+if test "${UNAME:-`uname`}" = "NetBSD"; then
|
|
|
|
NETBSD_LINTFLAGS='"-D__RENAME(x)=" -D_NETINET_IN_H_'
|
|
|
|
AC_SUBST(NETBSD_LINTFLAGS)
|
|
|
|
fi
|