--- a/Cargo.toml
+++ b/Cargo.toml
@@ -8,6 +8,7 @@
 lto = "fat"
 panic = "abort"
 opt-level = "z"
+codegen-units = 1
 
 [features]
 default = ["alsa-widget", "pulseaudio-widget", "yaml-cfg", "json-cfg"]
