Detect amd64 platform correctly on FreeBSD

This commit is contained in:
rdb 2010-04-24 11:37:45 +00:00
parent e445833bb3
commit e01ebd5ecb

View File

@ -140,7 +140,7 @@
#defer INSTALL_PROG $[if $[ne $[dir $[local]], ./],cd ./$[dir $[local]] &&] install -m $[INSTALL_UMASK_PROG] $[install_dash_p] $[notdir $[local]] $[dest]/
// What additional flags should we pass to interrogate?
#if $[eq $[shell uname -m], x86_64] // if FreeBSD is 64bit
#if $[eq $[shell uname -m], amd64] // if FreeBSD is 64bit
#define SYSTEM_IGATE_FLAGS -D_LP64 -D__const=const -Dvolatile -Dmutable
#else
#define SYSTEM_IGATE_FLAGS -D__i386__ -D__const=const -Dvolatile -Dmutable