diff --git a/cook.sh b/cook.sh
index bad288a482466ae1d9360d5126f578ff692289eb..8637a7a182998ef7ebdac14d356b29cf0b2d2e25 100755
--- a/cook.sh
+++ b/cook.sh
@@ -6,7 +6,7 @@ source config.sh
 
 # Variables to be overriden by recipes
 export BINDIR=bin
-export CARGO=(env RUSTFLAGS="$PREFIX_RUSTFLAGS" xargo)
+export CARGO=(env RUSTFLAGS="$PREFIX_RUSTFLAGS -C link-arg=-zmuldefs" xargo)
 export CARGOBUILD=rustc
 export CARGOFLAGS=
 export DEBUG=