mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Compilation: Correct the gcc location for compilation in 32bit on a 64bit machine
This commit is contained in:
@ -52,7 +52,7 @@ case Linux:
|
||||
case x86_64:
|
||||
switch ($WM_ARCH_OPTION)
|
||||
case 32:
|
||||
setenv WM_COMPILER_ARCH '-64'
|
||||
setenv WM_COMPILER_ARCH 64
|
||||
setenv WM_CC 'gcc'
|
||||
setenv WM_CXX 'g++'
|
||||
setenv WM_CFLAGS '-m32 -fPIC'
|
||||
|
||||
@ -76,7 +76,7 @@ Linux)
|
||||
x86_64)
|
||||
case "$WM_ARCH_OPTION" in
|
||||
32)
|
||||
export WM_COMPILER_ARCH='-64'
|
||||
export WM_COMPILER_ARCH=64
|
||||
export WM_CC='gcc'
|
||||
export WM_CXX='g++'
|
||||
export WM_CFLAGS='-m32 -fPIC'
|
||||
|
||||
Reference in New Issue
Block a user