LLVM: Nicer format for lack of shared lib warning
authorDavid Terei <davidterei@gmail.com>
Tue, 17 Aug 2010 14:52:07 +0000 (14:52 +0000)
committerDavid Terei <davidterei@gmail.com>
Tue, 17 Aug 2010 14:52:07 +0000 (14:52 +0000)
compiler/main/DynFlags.hs

index 6c3ea22..1775bbf 100644 (file)
@@ -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)