Merge pull request #36 from pipping/master
Fixed the bug about USE_OPENMP=0 enabling OpenMP
This commit is contained in:
commit
1a4181afd0
|
@ -189,7 +189,7 @@ ifeq ($(C_COMPILER), INTEL)
|
||||||
CCOMMON_OPT += -wd981
|
CCOMMON_OPT += -wd981
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef USE_OPENMP
|
ifeq ($(USE_OPENMP), 1)
|
||||||
ifeq ($(C_COMPILER), GCC)
|
ifeq ($(C_COMPILER), GCC)
|
||||||
CCOMMON_OPT += -fopenmp
|
CCOMMON_OPT += -fopenmp
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue