Skip to content

Commit

Permalink
Specify best compatibility for native image
Browse files Browse the repository at this point in the history
  • Loading branch information
mthmulders committed Nov 22, 2023
1 parent 15dfa91 commit 39b3aa3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,6 @@
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<version>0.9.27</version>
<configuration>
<buildArgs>${native-image-arguments}</buildArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.jreleaser</groupId>
Expand Down Expand Up @@ -337,7 +334,7 @@
<configuration>
<agentResourceDirectory>${project.basedir}/src/main/graalvm-native</agentResourceDirectory>
<imageName>${project.artifactId}-${project.version}</imageName>
<buildArgs>${native-image-arguments}</buildArgs>
<buildArgs>${native-image-arguments} -march=compatibility</buildArgs>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit 39b3aa3

Please sign in to comment.