diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/nan_compile.mk | 5 | ||||
-rw-r--r-- | source/nan_link.mk | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/source/nan_compile.mk b/source/nan_compile.mk index afea7a01239..665fdd3939b 100644 --- a/source/nan_compile.mk +++ b/source/nan_compile.mk @@ -50,6 +50,11 @@ else CPPFLAGS += -DNO_KETSJI endif +ifeq ($(WITH_BF_OPENMP), true) + CFLAGS += -fopenmp + CCFLAGS += -fopenmp +endif + ifdef NAN_DEBUG CFLAGS += $(NAN_DEBUG) CCFLAGS += $(NAN_DEBUG) diff --git a/source/nan_link.mk b/source/nan_link.mk index e0745e9c1d4..f4a90b0f927 100644 --- a/source/nan_link.mk +++ b/source/nan_link.mk @@ -173,4 +173,8 @@ ifeq ($(INTERNATIONAL),true) LLIBS += $(NAN_GETTEXT_LIB) endif +ifeq ($(WITH_BF_OPENMP),true) + LLIBS += -lgomp +endif + LLIBS += $(NAN_PYTHON_LIB) |