packages/utils/valgrind/patches/100-fix_configure_check.patch
nbd 5c236f5a53 valgrind: update the package to latest svn, rework and modularize it. tested and working on mips now
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-29 19:17:51 +00:00

12 lines
310 B
Diff

--- a/configure.in
+++ b/configure.in
@@ -260,7 +260,7 @@ case "${host_os}" in
# Ok, this is linux. Check the kernel version
AC_MSG_CHECKING([for the kernel version])
- kernel=`uname -r`
+ kernel=${UNAME_R:-`uname -r`}
case "${kernel}" in
2.6.*|3.*)