summaryrefslogtreecommitdiff
path: root/compiler/utils
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2012-01-01 02:17:24 +0100
committerSimon Marlow <marlowsd@gmail.com>2012-01-04 14:28:56 +0000
commit71963675263e5e66fe80c2fba4fa2bbe6c0bed73 (patch)
treed1cbd391a7f368f85ecb95a90cb79f45785a1a70 /compiler/utils
parentcf655bc9c7ef7e647d25bb5f0719d00e14e2d6ee (diff)
downloadhaskell-71963675263e5e66fe80c2fba4fa2bbe6c0bed73.tar.gz
KFreeBSD is also an ELF binary
Fixes: #5733
Diffstat (limited to 'compiler/utils')
-rw-r--r--compiler/utils/Platform.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/utils/Platform.hs b/compiler/utils/Platform.hs
index 10b19fe5e4..7045f4b521 100644
--- a/compiler/utils/Platform.hs
+++ b/compiler/utils/Platform.hs
@@ -56,6 +56,7 @@ data OS
| OSFreeBSD
| OSOpenBSD
| OSNetBSD
+ | OSKFreeBSD
deriving (Read, Show, Eq)
-- | ARM Instruction Set Architecture and Extensions
@@ -87,6 +88,7 @@ osElfTarget OSNetBSD = True
osElfTarget OSSolaris2 = True
osElfTarget OSDarwin = False
osElfTarget OSMinGW32 = False
+osElfTarget OSKFreeBSD = True
osElfTarget OSUnknown = False
-- Defaulting to False is safe; it means don't rely on any
-- ELF-specific functionality. It is important to have a default for