This resolves a whole range of issues and work-arounds with earlier releases. This version of icpc is more or less compatible with the latest gcc and clang compilers and only required one hack to avoid warnings from PackedBoolList.H.
22 lines
708 B
Text
22 lines
708 B
Text
SUFFIXES += .C
|
|
|
|
c++WARN = -Wall -Wextra -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof \
|
|
-diag-disable 2304
|
|
|
|
CC = icpc -std=c++0x -fp-trap=common -fp-model precise
|
|
|
|
include $(RULES)/c++$(WM_COMPILE_OPTION)
|
|
|
|
ptFLAGS = -DNoRepository
|
|
|
|
c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -KPIC
|
|
|
|
Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $< -o $@
|
|
cxxtoo = $(Ctoo)
|
|
cctoo = $(Ctoo)
|
|
cpptoo = $(Ctoo)
|
|
|
|
LINK_LIBS = $(c++DBUG) -L$(IA32ROOT)/lib
|
|
|
|
LINKLIBSO = $(CC) $(c++FLAGS) -shared -Xlinker --add-needed -Xlinker --no-as-needed
|
|
LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed -Xlinker --no-as-needed
|