From 8786e5815f00c022e356a7cd97d28d12b24e826c Mon Sep 17 00:00:00 2001 From: munishchouhan Date: Mon, 27 May 2024 13:41:21 +0200 Subject: [PATCH 1/2] added -march=compatibility --- app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 44adf0c..4db7499 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -77,7 +77,7 @@ graalvmNative { configurationFileDirectories.from(file('conf')) if (System.env.getOrDefault("PLATFORM", "") == "linux-x86_64") { - buildArgs(['--static', '--libc=musl', '--gc=G1']) + buildArgs(['--static', '--libc=musl', '--gc=G1','-march=compatibility']) } javaLauncher = javaToolchains.launcherFor { From 1c0a3ea13fa53055188507c4a9ef006af42191d9 Mon Sep 17 00:00:00 2001 From: munishchouhan Date: Mon, 27 May 2024 14:56:30 +0200 Subject: [PATCH 2/2] minor change [ci skip] --- app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 4db7499..a9cb9e3 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -77,7 +77,7 @@ graalvmNative { configurationFileDirectories.from(file('conf')) if (System.env.getOrDefault("PLATFORM", "") == "linux-x86_64") { - buildArgs(['--static', '--libc=musl', '--gc=G1','-march=compatibility']) + buildArgs(['--static', '--libc=musl', '--gc=G1', '-march=compatibility']) } javaLauncher = javaToolchains.launcherFor {