diff -r c9107eb8d3a4 src/Makefile --- a/src/Makefile Tue Jan 07 01:03:31 2014 +0100 +++ b/src/Makefile Sun Jan 19 21:24:36 2014 +0100 @@ -1,7 +1,7 @@ MPICC ?= mpic++ -OFMPIINC ?= $(shell $(MPICC) -showme:compile | sed -e "s/-pthread/-lpthread/g") +OFMPIINC ?= $(shell $(MPICC) -showme:compile | sed -e "s/-pthread/-lpthread/g" -e "s/-fexceptions/ /g") MPIINC := $(OFMPIINC) -OFMPILIBS ?= $(shell $(MPICC) -showme:link | sed -e "s/-pthread/ /g") +OFMPILIBS ?= $(shell $(MPICC) -showme:link | sed -e "s/-pthread/ /g" -e "s/-fexceptions/ /g") MPILIBS := $(OFMPILIBS) MKOCTFILE ?= mkoctfile