etc/config/settings: Set WM_ARCH_OPTION=32 on 32bit OSs

This commit is contained in:
Henry 2015-05-17 18:30:11 +01:00
parent 7edfb4d08d
commit e9e1bfb5f7
4 changed files with 5 additions and 3 deletions

View File

@ -68,7 +68,7 @@ unset WM_COMPILER_ARCH WM_COMPILER_LIB_ARCH
#- Memory addressing:
# On a 64bit OS this can be 32bit or 64bit
# On a 32bit OS addressing is 32bin and this option is not used
# On a 32bit OS addressing is 32bit and this option is not used
# WM_ARCH_OPTION = 32 | 64
export WM_ARCH_OPTION=64

View File

@ -50,6 +50,7 @@ case Linux:
switch (`uname -m`)
case i686:
setenv WM_ARCH_OPTION 32
breaksw
case x86_64:

View File

@ -70,7 +70,8 @@ Linux)
# compiler specifics
case `uname -m` in
i686)
i686)
export WM_ARCH_OPTION=32
;;
x86_64)

View File

@ -68,7 +68,7 @@ unsetenv WM_COMPILER_LIB_ARCH
#- Memory addressing:
# On a 64bit OS this can be 32bit or 64bit
# On a 32bit OS addressing is 32bin and this option is not used
# On a 32bit OS addressing is 32bit and this option is not used
# WM_ARCH_OPTION = 32 | 64
setenv WM_ARCH_OPTION 64