summaryrefslogtreecommitdiff
path: root/hadrian/src/Settings/Warnings.hs
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-06-08 19:50:06 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-06-18 23:04:17 -0400
commit729bcb02716593ae46d7baecce4776b3f353e3f7 (patch)
tree57c626a5eccff522477134b28d65da41c6753e7f /hadrian/src/Settings/Warnings.hs
parent1a3f6f348004a80d3d7add81b22e4217b648b145 (diff)
downloadhaskell-729bcb02716593ae46d7baecce4776b3f353e3f7.tar.gz
Hadrian: fix build on Mac OS Catalina (#17798)
Diffstat (limited to 'hadrian/src/Settings/Warnings.hs')
-rw-r--r--hadrian/src/Settings/Warnings.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/hadrian/src/Settings/Warnings.hs b/hadrian/src/Settings/Warnings.hs
index 717443ca19..4001b8bd91 100644
--- a/hadrian/src/Settings/Warnings.hs
+++ b/hadrian/src/Settings/Warnings.hs
@@ -11,7 +11,9 @@ defaultGhcWarningsArgs :: Args
defaultGhcWarningsArgs = mconcat
[ notStage0 ? arg "-Wnoncanonical-monad-instances"
, notM (flag CcLlvmBackend) ? arg "-optc-Wno-error=inline"
- , flag CcLlvmBackend ? arg "-optc-Wno-unknown-pragmas" ]
+ , flag CcLlvmBackend ? arg "-optc-Wno-unknown-pragmas"
+ , arg "-optP-Wno-nonportable-include-path" -- #17798
+ ]
-- | Package-specific warnings-related arguments, mostly suppressing various warnings.
ghcWarningsArgs :: Args