aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/Makefile.in
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2016-04-15 11:24:14 +0200
committerRickard Green <[email protected]>2016-05-10 16:22:51 +0200
commit0aa5f873fdfb391a455bc134256b7c464ffa161b (patch)
treec115d755e2d01b3508a82893504f064a59c618f7 /erts/emulator/Makefile.in
parent8bc9c88cd98bbbcc18265a7aed830b73f5133cf6 (diff)
downloadotp-0aa5f873fdfb391a455bc134256b7c464ffa161b.tar.gz
otp-0aa5f873fdfb391a455bc134256b7c464ffa161b.tar.bz2
otp-0aa5f873fdfb391a455bc134256b7c464ffa161b.zip
Remove conditional dirty schedulers API
Diffstat (limited to 'erts/emulator/Makefile.in')
-rw-r--r--erts/emulator/Makefile.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/erts/emulator/Makefile.in b/erts/emulator/Makefile.in
index fb486c917f..2212aed5e0 100644
--- a/erts/emulator/Makefile.in
+++ b/erts/emulator/Makefile.in
@@ -50,6 +50,8 @@ LDFLAGS=@LDFLAGS@
ARFLAGS=rc
OMIT_OMIT_FP=no
+DIRTY_SCHEDULER_SUPPORT=@DIRTY_SCHEDULER_SUPPORT@
+
ifeq ($(TYPE),debug)
PURIFY =
TYPEMARKER = .debug
@@ -174,6 +176,10 @@ FLAVOR_MARKER=.smp
FLAVOR_FLAGS=-DERTS_SMP
ENABLE_ALLOC_TYPE_VARS += smp nofrag
M4FLAGS += -DERTS_SMP=1
+ifeq ($(DIRTY_SCHEDULER_SUPPORT),yes)
+THR_DEFS += -DERTS_DIRTY_SCHEDULERS
+endif
+
else
# If flavor isn't one of the above, it *is* plain flavor...
@@ -182,7 +188,6 @@ FLAVOR_MARKER=
FLAVOR_FLAGS=
ENABLE_ALLOC_TYPE_VARS += nofrag
M4FLAGS +=
-
endif
TF_MARKER=$(TYPEMARKER)$(FLAVOR_MARKER)