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:
committed by
Andrew Heather
parent
09cf9d9963
commit
787325a916
@ -1,10 +1,10 @@
|
||||
include $(GENERAL_RULES)/Clang/c++
|
||||
|
||||
CC = clang++ -std=c++11 -m32
|
||||
c++ARCH = -m32
|
||||
|
||||
include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)
|
||||
|
||||
c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC
|
||||
c++FLAGS = $(c++ARCH) $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC
|
||||
|
||||
Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $< -o $@
|
||||
cxxtoo = $(Ctoo)
|
||||
|
||||
Reference in New Issue
Block a user