blob: 505383ab62aba41ef161177440044a2ea8d41b58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-configure,v 1.1 2014/06/11 11:03:56 hauke Exp $
Even on SunOS, we decide bitness ourselves.
--- configure.orig 2012-09-28 07:49:32.000000000 +0000
+++ configure
@@ -17535,7 +17535,7 @@ $as_echo_n "checking if we have to build
# check for isainfo, if not found it has to be a 32 bit kernel (<=2.6)
if test -x /usr/bin/isainfo; then
# check for 64 bit platform
- if isainfo -kv | grep '^64-bit'; then
+ if test "$MACHINE_ARCH" = "x86_64"; then
COMPILE_64BIT_KMODULE=yes
fi
fi
|