Added support for the PPC64le architecture

Resolves feature request http://www.openfoam.org/mantisbt/view.php?id=1759
This commit is contained in:
Henry Weller
2015-06-23 11:26:18 +01:00
parent 22eec28121
commit 4b4c43b5da
13 changed files with 87 additions and 0 deletions

View File

@ -0,0 +1,16 @@
SUFFIXES += .c
cWARN = -Wall
cc = gcc -m64 -mcpu=power8
include $(RULES)/c$(WM_COMPILE_OPTION)
cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC
ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $< -o $@
LINK_LIBS = $(cDBUG)
LINKLIBSO = $(cc) -shared
LINKEXE = $(cc) -Xlinker --add-needed -Xlinker -z -Xlinker nodefs