From 0693e611c20365dae3eb2cd5762b6c2f8e735e72 Mon Sep 17 00:00:00 2001 From: David Terei Date: Tue, 17 Aug 2010 14:52:07 +0000 Subject: [PATCH] LLVM: Nicer format for lack of shared lib warning --- compiler/main/DynFlags.hs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index 6c3ea22..1775bbf 100644 --- a/compiler/main/DynFlags.hs +++ b/compiler/main/DynFlags.hs @@ -1176,8 +1176,9 @@ parseDynamicFlags_ dflags0 args pkg_flags = do dflags1{ hscTarget = HscAsm }) #if !(x86_64_TARGET_ARCH && linux_TARGET_OS) | (not opt_Static || opt_PIC) && hscTarget dflags1 == HscLlvm - = ([L noSrcSpan $ "Warning: -fllvm is incompatible with -fPIC and -dynamic on this" - ++ "platform; ignoring -fllvm"], dflags1{ hscTarget = HscAsm }) + = ([L noSrcSpan $ "Warning: -fllvm is incompatible with -fPIC and -" + ++ "dynamic on this platform;\n ignoring -fllvm"], + dflags1{ hscTarget = HscAsm }) #endif | otherwise = ([], dflags1) -- 1.7.10.4