etc/config.sh/settings: Updated set of WM_CC, WM_CXX etc. variables to compile ThirdParty software
Patch provided by Bruno Santos Resolves bug-report http://bugs.openfoam.org/view.php?id=2051
This commit is contained in:
parent
cec98b2985
commit
630d2c76dc
1 changed files with 6 additions and 0 deletions
|
|
@ -41,6 +41,11 @@ Linux)
|
|||
case `uname -m` in
|
||||
i686)
|
||||
export WM_ARCH_OPTION=32
|
||||
export WM_CC='gcc'
|
||||
export WM_CXX='g++'
|
||||
export WM_CFLAGS='-fPIC'
|
||||
export WM_CXXFLAGS='-fPIC -std=c++0x'
|
||||
export WM_LDFLAGS=
|
||||
;;
|
||||
|
||||
x86_64)
|
||||
|
|
@ -76,6 +81,7 @@ Linux)
|
|||
|
||||
armv7l)
|
||||
WM_ARCH=linuxARM7
|
||||
export WM_ARCH_OPTION=32
|
||||
export WM_COMPILER_LIB_ARCH=32
|
||||
export WM_CC='gcc'
|
||||
export WM_CXX='g++'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue