From 5cd24b98bdecd6b098cc4ab7411e15260aabd841 Mon Sep 17 00:00:00 2001 From: rdb Date: Fri, 13 Jun 2008 18:28:00 +0000 Subject: [PATCH] uname -i doesnt work in all cases, uname -m does. --- dtool/Config.Linux.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dtool/Config.Linux.pp b/dtool/Config.Linux.pp index acd81c4d9c..04668b5a0d 100644 --- a/dtool/Config.Linux.pp +++ b/dtool/Config.Linux.pp @@ -22,7 +22,7 @@ #define IS_LINUX 1 // What additional flags should we pass to interrogate? -#if $[eq $[shell uname -i], x86_64] // if Linux is 64bit +#if $[eq $[shell uname -m], x86_64] // if Linux is 64bit #define SYSTEM_IGATE_FLAGS -D_LP64 #else #define SYSTEM_IGATE_FLAGS -D__i386__ -D__const=const -Dvolatile -Dmutable