--- Makefile.orig 2018-09-09 05:56:50 UTC +++ Makefile @@ -436,7 +436,7 @@ LIBS = $(CUDAOBJS) $(PLUGINLIB) $(SBLIB) # CXX is platform dependent CXXBASEFLAGS = $(COPTI)$(CHARMINC) $(COPTI)$(SRCDIR) $(COPTI)$(INCDIR) $(DPMTA) $(DPME) $(FMM) $(COPTI)$(PLUGININCDIR) $(COPTD)STATIC_PLUGIN $(TCL) $(PYTHON) $(FFT) $(CUDA) $(MIC) $(MEMOPT) $(CCS) $(RELEASE) $(EXTRADEFINES) $(TRACEOBJDEF) $(EXTRAINCS) $(MSA) $(CKLOOP) -CXXFLAGS = $(CXXBASEFLAGS) $(CXXOPTS) +CXXFLAGS += $(CXXBASEFLAGS) $(CXXOPTS) CXXMICFLAGS = $(CXXBASEFLAGS) $(CXXOPTS) $(CXXMICOPTS) CXXTHREADFLAGS = $(CXXBASEFLAGS) $(CXXTHREADOPTS) CXXSIMPARAMFLAGS = $(CXXBASEFLAGS) $(CXXSIMPARAMOPTS)