etc/config/settings: Set WM_ARCH_OPTION=32 on 32bit OSs
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
|||||||
@ -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:
|
||||||
|
|||||||
@ -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)
|
||||||
|
|||||||
@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user