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
|
||||
endif
|
||||
|
||||
ifdef USE_OPENMP
|
||||
ifeq ($(USE_OPENMP), 1)
|
||||
ifeq ($(C_COMPILER), GCC)
|
||||
CCOMMON_OPT += -fopenmp
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue