mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
uname -i doesnt work in all cases, uname -m does.
This commit is contained in:
parent
f6f31c3afb
commit
5cd24b98bd
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user