summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2019-09-17 18:26:03 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2019-09-17 18:26:03 -0600
commitbd229936ec2cb30fe3360f2d83ffc7197fd6fb97 (patch)
tree84e41e048d76541d5d491ccefe8c7feaa14f4d5c /wscript
parentfc3e7623e7a4c7fdeebf84c4d47eaf04d9bc744d (diff)
add finite state machine to control/manage transport state
Diffstat (limited to 'wscript')
-rw-r--r--wscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/wscript b/wscript
index 1933c3af66..da86736a3d 100644
--- a/wscript
+++ b/wscript
@@ -383,6 +383,17 @@ int main() { return 0; }''',
autowaf.set_basic_compiler_flags (conf,flags_dict)
+ #
+ # the transition table for the libardour transport state machine
+ # is larger than the default that is hard-coded in boost::mpl.
+ # These need to be defined before any boost headers are used,
+ # and just about the only way to be sure that is true is to define
+ # them on the "command line" here.
+ #
+ cxx_flags.append ('-DBOOST_MPL_CFG_NO_PREPROCESSED_HEADERS')
+ cxx_flags.append ('-DBOOST_MPL_LIMIT_VECTOR_SIZE=30')
+ cxx_flags.append ('-DBOOST_MPL_LIMIT_MAP_SIZE=30')
+
if conf.options.asan:
conf.check_cxx(cxxflags=["-fsanitize=address", "-fno-omit-frame-pointer"], linkflags=["-fsanitize=address"])
cxx_flags.append('-fsanitize=address')