Browse Source

uname -i doesnt work in all cases, uname -m does.

rdb 17 years ago
parent
commit
5cd24b98bd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dtool/Config.Linux.pp

+ 1 - 1
dtool/Config.Linux.pp

@@ -22,7 +22,7 @@
 #define IS_LINUX 1
 #define IS_LINUX 1
 
 
 // What additional flags should we pass to interrogate?
 // 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
   #define SYSTEM_IGATE_FLAGS -D_LP64
 #else
 #else
   #define SYSTEM_IGATE_FLAGS -D__i386__ -D__const=const -Dvolatile -Dmutable
   #define SYSTEM_IGATE_FLAGS -D__i386__ -D__const=const -Dvolatile -Dmutable