Skip to content

Commit 39e3440

Browse files
committed
Reduce native image size
1 parent fe27e98 commit 39e3440

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Unreleased
44

55
- Drop UPX compression for all native image builds.
6+
- Optimize native image for size with `-Os`.
67

78
## 0.114.2
89

build.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
"--native-image-info"
8686
"--features=clj_easy.graal_build_time.InitClojureClasses"
8787
"-march=compatibility"
88-
"-O1"
88+
"-Os"
8989
(or (System/getenv "ECA_XMX")
9090
"-J-Xmx8g")
9191
(when (and linux? aarch64?)

0 commit comments

Comments
 (0)