15 lines
517 B
Plaintext
15 lines
517 B
Plaintext
$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
|