From e5136d03753a70f22650e637188fbe8fb2aa14d0 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 10 Dec 2015 12:36:03 +0100 Subject: add a mixbus compile define allow to minimize branch changes downstream and work closer with upstream. (so far upstream #ifdef MIXBUS were hardcoded to #if 1 downstream) --- wscript | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index a5be9ae215..397ae48c58 100644 --- a/wscript +++ b/wscript @@ -592,6 +592,10 @@ int main() { return 0; }''', if opt.nls: compiler_flags.append('-DENABLE_NLS') + # use sparingly, prefer runtime profile + if Options.options.program_name.lower() == "mixbus": + compiler_flags.append ('-DMIXBUS') + compiler_flags.append ('-DPROGRAM_NAME="' + Options.options.program_name + '"') compiler_flags.append ('-DPROGRAM_VERSION="' + PROGRAM_VERSION + '"') -- cgit v1.2.3