From afa7dbe0e40e3cb515de7e6d25d526b5362e9922 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Mon, 23 Jan 2023 15:02:29 +0100 Subject: Possibly save time when compiling kotlin files --- bin/flycheck-android-kotlin.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') diff --git a/bin/flycheck-android-kotlin.py b/bin/flycheck-android-kotlin.py index c6a49e8..bceafc8 100644 --- a/bin/flycheck-android-kotlin.py +++ b/bin/flycheck-android-kotlin.py @@ -90,6 +90,8 @@ def run_kotlinc(cp, files, output, args, sourcefile, outdir): if output: command.extend(['-d', output]) command.extend([arg for arg in args if not arg.startswith('-Xplugin=')]) + # Save time? + command.append('-Xno-optimize') command.append(sourcefile) # Must include all source files or internal access will fail if outdir: -- cgit v1.2.3-70-g09d2