Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/nan_compile.mk')
-rw-r--r--source/nan_compile.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/nan_compile.mk b/source/nan_compile.mk
index 19d833b5b0d..a6dcfc21b5f 100644
--- a/source/nan_compile.mk
+++ b/source/nan_compile.mk
@@ -47,6 +47,11 @@ else
CPPFLAGS += -DNO_KETSJI
endif
+ifeq ($(BF_PROFILE), true)
+ CFLAGS += -pg
+ CCFLAGS += -pg
+endif
+
ifeq ($(WITH_BF_OPENMP), true)
CFLAGS += -fopenmp
CCFLAGS += -fopenmp