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")