diff --git a/core/config.mk b/core/config.mk index e44558e97..76e3a3310 100644 --- a/core/config.mk +++ b/core/config.mk @@ -456,7 +456,7 @@ endif ifneq ($(ANDROID_JACK_EXTRA_ARGS),) DEFAULT_JACK_EXTRA_ARGS := $(ANDROID_JACK_EXTRA_ARGS) else -DEFAULT_JACK_EXTRA_ARGS := -D sched.runner=multi-threaded -D sched.runner.thread.kind=fixed -D sched.runner.thread.fixed.count=4 --sanity-checks off -D jack.reporter.level.file=error=--,warning=- +DEFAULT_JACK_EXTRA_ARGS := @$(BUILD_SYSTEM)/jack-default.args endif # Turn off jack warnings by default. DEFAULT_JACK_EXTRA_ARGS += --verbose error diff --git a/core/jack-default.args b/core/jack-default.args new file mode 100644 index 000000000..8d70a820d --- /dev/null +++ b/core/jack-default.args @@ -0,0 +1,5 @@ +-D sched.runner=multi-threaded +-D sched.runner.thread.kind=fixed +-D sched.runner.thread.fixed.count=4 +--sanity-checks off +-D jack.reporter.level.file=error=--,warning=- \ No newline at end of file