From 9405eeeb067b57abe902224ba8f9963b0786a88e Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Sun, 4 Oct 2020 09:13:54 -0400 Subject: [PATCH] Fix linux linking issues --- compiler/build/src/link.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/build/src/link.rs b/compiler/build/src/link.rs index e3ecfa95ee..09bcef755e 100644 --- a/compiler/build/src/link.rs +++ b/compiler/build/src/link.rs @@ -57,9 +57,9 @@ fn link_linux( "-lrt", "-lutil", "-lc_nonshared", - // "-lc++", // TODO shouldn't we need this? + "-lc++", + "-lunwind", // "-lgcc", // TODO will eventually need compiler_rt from gcc or something - see https://github.com/rtfeldman/roc/pull/554#discussion_r496370840 - "-lunwind", // TODO will eventually need this, see https://github.com/rtfeldman/roc/pull/554#discussion_r496370840 ]) .spawn() }