Merge pull request #511 from nerdcha/master
Use homebrew gcc if available
This commit is contained in:
commit
05b242d542
6
Makefile
6
Makefile
@ -1,6 +1,6 @@
|
|||||||
export CC = gcc
|
export CC = $(if $(shell which gcc-5),gcc-5,gcc)
|
||||||
#build on the fly
|
export CXX = $(if $(shell which g++-5),g++-5,gcc)
|
||||||
export CXX = g++
|
|
||||||
export MPICXX = mpicxx
|
export MPICXX = mpicxx
|
||||||
export LDFLAGS= -pthread -lm
|
export LDFLAGS= -pthread -lm
|
||||||
export CFLAGS = -Wall -O3 -msse2 -Wno-unknown-pragmas -funroll-loops
|
export CFLAGS = -Wall -O3 -msse2 -Wno-unknown-pragmas -funroll-loops
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user