mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -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++'
|
||||
|
||||
Reference in New Issue
Block a user