Commit 706d35ea authored by Zhen Zhang's avatar Zhen Zhang Committed by Andrey Mokhov

Complete RTS compiler args (#418)

parent 907cad60
......@@ -123,6 +123,7 @@ ffi-lib-dir = @FFILibDir@
#=======================
with-libdw = @UseLibdw@
have-lib-mingw-ex = @HaveLibMingwEx@
# Installation:
#=======================
......
......@@ -18,6 +18,7 @@ data Flag = ArSupportsAtFile
| SolarisBrokenShld
| SplitObjectsBroken
| WithLibdw
| HaveLibMingwEx
| UseSystemFfi
-- Note, if a flag is set to empty string we treat it as set to NO. This seems
......@@ -35,6 +36,7 @@ flag f = do
SolarisBrokenShld -> "solaris-broken-shld"
SplitObjectsBroken -> "split-objects-broken"
WithLibdw -> "with-libdw"
HaveLibMingwEx -> "have-lib-mingw-ex"
UseSystemFfi -> "use-system-ffi"
value <- lookupValueOrError configFile key
when (value `notElem` ["YES", "NO", ""]) . error $ "Configuration flag "
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment