summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Terei <davidterei@gmail.com>2010-08-17 14:52:07 +0000
committerDavid Terei <davidterei@gmail.com>2010-08-17 14:52:07 +0000
commit0693e611c20365dae3eb2cd5762b6c2f8e735e72 (patch)
treec2279d2235f3b27755266e78aab097d88ba4049d
parent593790400ecb8e6dbbef1ade3da56b1070ba155e (diff)
downloadhaskell-0693e611c20365dae3eb2cd5762b6c2f8e735e72.tar.gz
LLVM: Nicer format for lack of shared lib warning
-rw-r--r--compiler/main/DynFlags.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index 6c3ea22a0b..1775bbf36a 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)