Workaround for linker errors in macosx + ghc 7.0.3.
This commit is contained in:
parent
f25df13b8e
commit
54520c4e6f
1 changed files with 12 additions and 6 deletions
|
@ -219,6 +219,9 @@ Library
|
|||
if flag(highlighting)
|
||||
Build-depends: highlighting-kate >= 0.2.9 && < 0.3
|
||||
cpp-options: -D_HIGHLIGHTING
|
||||
if impl(ghc == 7.0.3) && os(macosx)
|
||||
Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind -optl-Wl,-no_pie
|
||||
else
|
||||
if impl(ghc >= 6.12)
|
||||
Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind
|
||||
else
|
||||
|
@ -305,6 +308,9 @@ Executable pandoc
|
|||
if flag(highlighting)
|
||||
Build-depends: highlighting-kate >= 0.2.9 && < 0.3
|
||||
cpp-options: -D_HIGHLIGHTING
|
||||
if impl(ghc == 7.0.3) && os(macosx)
|
||||
Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind -optl-Wl,-no_pie
|
||||
else
|
||||
if impl(ghc >= 6.12)
|
||||
Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue