projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5937904
)
LLVM: Nicer format for lack of shared lib warning
author
David Terei
<davidterei@gmail.com>
Tue, 17 Aug 2010 14:52:07 +0000
(14:52 +0000)
committer
David Terei
<davidterei@gmail.com>
Tue, 17 Aug 2010 14:52:07 +0000
(14:52 +0000)
compiler/main/DynFlags.hs
patch
|
blob
|
history
diff --git
a/compiler/main/DynFlags.hs
b/compiler/main/DynFlags.hs
index
6c3ea22
..
1775bbf
100644
(file)
--- 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
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)
#endif
| otherwise = ([], dflags1)