Corrected handling of 32bit building on 64bit machines using the 64bit gcc
This commit is contained in:
parent
4066b1fd9e
commit
f2d95a4dff
@ -94,10 +94,10 @@ switch ("$WM_COMPILER_INST")
|
||||
case OpenFOAM:
|
||||
switch ("$WM_COMPILER")
|
||||
case Gcc43:
|
||||
setenv WM_COMPILER_DIR $thirdParty/gcc-4.3.0/platforms/$WM_ARCH
|
||||
setenv WM_COMPILER_DIR $thirdParty/gcc-4.3.0/platforms/$WM_ARCH$WM_COMPILER_ARCH
|
||||
breaksw
|
||||
case Gcc:
|
||||
setenv WM_COMPILER_DIR $thirdParty/gcc-4.2.2/platforms/$WM_ARCH
|
||||
setenv WM_COMPILER_DIR $thirdParty/gcc-4.2.2/platforms/$WM_ARCH$WM_COMPILER_ARCH
|
||||
breaksw
|
||||
endsw
|
||||
|
||||
|
@ -106,10 +106,10 @@ case "$WM_COMPILER_INST" in
|
||||
OpenFOAM)
|
||||
case "$WM_COMPILER" in
|
||||
Gcc43)
|
||||
export WM_COMPILER_DIR=$thirdParty/gcc-4.3.0/platforms/$WM_ARCH
|
||||
export WM_COMPILER_DIR=$thirdParty/gcc-4.3.0/platforms/$WM_ARCH$WM_COMPILER_ARCH
|
||||
;;
|
||||
Gcc)
|
||||
export WM_COMPILER_DIR=$thirdParty/gcc-4.2.2/platforms/$WM_ARCH
|
||||
export WM_COMPILER_DIR=$thirdParty/gcc-4.2.2/platforms/$WM_ARCH$WM_COMPILER_ARCH
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user