mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: manage cpu architecture with cARCH, c++ARCH internal make variables
- allows better separation from compiler settings - use -fPIC instead of legacy -KPIC for intel compiler
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
include $(GENERAL_RULES)/Icc/c
|
||||
|
||||
cc = icc
|
||||
cARCH =
|
||||
|
||||
include $(DEFAULT_RULES)/c$(WM_COMPILE_OPTION)
|
||||
|
||||
cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC
|
||||
cFLAGS = $(cARCH) $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC
|
||||
|
||||
ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $< -o $@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user