From ce8642aa69d0082481f2ca4ab11a9404c62fb401 Mon Sep 17 00:00:00 2001 From: jD91mZM2 <me@krake.one> Date: Sun, 16 Jun 2019 15:09:56 +0200 Subject: [PATCH] Workaround issue in nulld by allowing multiple definitions --- cook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cook.sh b/cook.sh index bad288a48..8637a7a18 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= -- GitLab