Skip to content

Commit f7eb366

Browse files
committed
chore: kotlin native compiler args
1 parent 980140b commit f7eb366

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

backend/native/build.gradle.kts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ kotlin {
2929
// Fix for libcrypt.so.1 not-found error on distroless
3030
if (target.konanTarget.family == Family.LINUX) {
3131
linkerOpts("-Wl,--as-needed", "-Wl,-Bstatic", "-lz", "-Wl,-Bdynamic")
32-
// freeCompilerArgs += "-Xoverride-konan-properties=linkerGccFlags.linux=-lgcc -lgcc_eh
33-
// -lc"
32+
// freeCompilerArgs +=
33+
// listOf(
34+
// "-Xverbose-phases=Linker",
35+
// "-Xruntime-logs=gc=info",
36+
// "-Xoverride-konan-properties=linkerGccFlags.linux=-lgcc -lgcc_eh -lc")
3437
}
3538

3639
if (buildType == NativeBuildType.RELEASE) {

0 commit comments

Comments
 (0)