Skip to content

Commit

Permalink
add -Os
Browse files Browse the repository at this point in the history
  • Loading branch information
alina-yur committed Jul 29, 2024
1 parent f7a9c10 commit 1c5e960
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -168,5 +168,23 @@
</build>
</profile>

<profile>
<id>size</id>
<build>
<plugins>
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<configuration>
<imageName>demo-size</imageName>
<buildArgs>
<buildArg>-Os</buildArg>
</buildArgs>
</configuration>
</plugin>
</plugins>
</build>
</profile>

</profiles>
</project>

0 comments on commit 1c5e960

Please sign in to comment.