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 869bf2216b
commit 25c09da260
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: #- Memory addressing:
# On a 64bit OS this can be 32bit or 64bit # 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 # WM_ARCH_OPTION = 32 | 64
export WM_ARCH_OPTION=64 export WM_ARCH_OPTION=64

View File

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

View File

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

View File

@ -68,7 +68,7 @@ unsetenv WM_COMPILER_LIB_ARCH
#- Memory addressing: #- Memory addressing:
# On a 64bit OS this can be 32bit or 64bit # 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 # WM_ARCH_OPTION = 32 | 64
setenv WM_ARCH_OPTION 64 setenv WM_ARCH_OPTION 64