Make USE_OPENMP=0 disable openmp

This commit is contained in:
Elias Pipping 2011-06-11 14:36:16 +02:00
parent 8cc628a953
commit 49742cb2d3
1 changed files with 1 additions and 1 deletions

View File

@ -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