From 72fc2b52dbbd45a2fe60fa383bbc44f8e516e281 Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Thu, 11 Oct 2012 16:06:17 -0700 Subject: Remove unneeded no_rt flag --- src/rustc/back/link.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/rustc/back') diff --git a/src/rustc/back/link.rs b/src/rustc/back/link.rs index 2e310785306..67edf6a32ba 100644 --- a/src/rustc/back/link.rs +++ b/src/rustc/back/link.rs @@ -723,10 +723,8 @@ fn link_binary(sess: session, } } - if !sess.debugging_opt(session::no_rt) { - // Always want the runtime linked in - cc_args.push(~"-lrustrt"); - } + // Always want the runtime linked in + cc_args.push(~"-lrustrt"); // On linux librt and libdl are an indirect dependencies via rustrt, // and binutils 2.22+ won't add them automatically -- cgit 1.4.1-3-g733a5