diff --git a/compiler/build/src/link.rs b/compiler/build/src/link.rs index d68b717fb1..74440313d7 100644 --- a/compiler/build/src/link.rs +++ b/compiler/build/src/link.rs @@ -463,8 +463,9 @@ fn link_macos( // "-lrt", // TODO shouldn't we need this? // "-lc_nonshared", // TODO shouldn't we need this? // "-lgcc", // TODO will eventually need compiler_rt from gcc or something - see https://github.com/rtfeldman/roc/pull/554#discussion_r496370840 + "-lc++", + // "-lc++abi", // "-lunwind", // TODO will eventually need this, see https://github.com/rtfeldman/roc/pull/554#discussion_r496370840 - "-lc++", // TODO shouldn't we need this? // Output "-o", output_path.to_str().unwrap(), // app