From edf05b69ac31689442a0134b346452828fd6f9d7 Mon Sep 17 00:00:00 2001 From: Alexander Shabalin Date: Mon, 26 Feb 2024 10:25:50 +0100 Subject: [PATCH] [K/N][performance] Fix build --- .../buildSrc/src/main/kotlin/benchmark/BenchmarkingPlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kotlin-native/performance/buildSrc/src/main/kotlin/benchmark/BenchmarkingPlugin.kt b/kotlin-native/performance/buildSrc/src/main/kotlin/benchmark/BenchmarkingPlugin.kt index 6bc602b43e9..5381c3611ca 100644 --- a/kotlin-native/performance/buildSrc/src/main/kotlin/benchmark/BenchmarkingPlugin.kt +++ b/kotlin-native/performance/buildSrc/src/main/kotlin/benchmark/BenchmarkingPlugin.kt @@ -164,7 +164,7 @@ abstract class BenchmarkingPlugin: Plugin { kotlin.targetFromPreset(hostPreset, NATIVE_TARGET_NAME) { compilations.named("main").configure { compileTaskProvider.configure { - compilerOptions.freeCompilerArgs.set(benchmark.compilerOpts + project.compilerArgs) + compilerOptions.freeCompilerArgs.addAll(benchmark.compilerOpts + project.compilerArgs) } dependencies { implementation("org.jetbrains.kotlinx:kotlinx-cli:0.3.5")