summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2023-05-12 11:50:43 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-05-15 14:50:07 -0400
commit2f571afe1c2aeb3f4dfca2012bc6b713144fd234 (patch)
tree5e564313858d57f18b8e8469fe60a212697b9cd6 /compiler
parent5ae81842d36a6091b406bfce98c60e8a7fa24240 (diff)
downloadhaskell-2f571afe1c2aeb3f4dfca2012bc6b713144fd234.tar.gz
Fix GHCJS OS platform (fix #23346)
Diffstat (limited to 'compiler')
-rw-r--r--compiler/GHC/Platform.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/GHC/Platform.hs b/compiler/GHC/Platform.hs
index 6ea05b30a3..a5a609d252 100644
--- a/compiler/GHC/Platform.hs
+++ b/compiler/GHC/Platform.hs
@@ -208,6 +208,7 @@ osElfTarget OSQNXNTO = False
osElfTarget OSAIX = False
osElfTarget OSHurd = True
osElfTarget OSWasi = False
+osElfTarget OSGhcjs = False
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