summaryrefslogtreecommitdiff
path: root/hadrian
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-06-12 18:16:01 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-06-14 15:35:59 -0400
commitbd761185561747fe0b3adc22602f75d7b50cd248 (patch)
treea58578fdcff0fb7b72ba6a213c74f06ae6816e7b /hadrian
parent8bab9ff1e09c1566a4105146bd636634a24928b9 (diff)
downloadhaskell-bd761185561747fe0b3adc22602f75d7b50cd248.tar.gz
hadrian: Drop redundant GHC arguments
Cabal should already be passing this arguments to GHC.
Diffstat (limited to 'hadrian')
-rw-r--r--hadrian/src/Settings/Packages.hs4
1 files changed, 0 insertions, 4 deletions
diff --git a/hadrian/src/Settings/Packages.hs b/hadrian/src/Settings/Packages.hs
index 8a7aef5914..8bb0f13fc5 100644
--- a/hadrian/src/Settings/Packages.hs
+++ b/hadrian/src/Settings/Packages.hs
@@ -273,10 +273,6 @@ rtsPackageArgs = package rts ? do
let ghcArgs = mconcat
[ arg "-Irts"
, arg $ "-I" ++ path
- , flag WithLibdw ? if not (null libdwIncludeDir) then arg ("-I" ++ libdwIncludeDir) else mempty
- , flag WithLibdw ? if not (null libdwLibraryDir) then arg ("-L" ++ libdwLibraryDir) else mempty
- , flag WithLibnuma ? if not (null libnumaIncludeDir) then arg ("-I" ++ libnumaIncludeDir) else mempty
- , flag WithLibnuma ? if not (null libnumaLibraryDir) then arg ("-L" ++ libnumaLibraryDir) else mempty
, arg $ "-DRtsWay=\"rts_" ++ show way ++ "\""
-- Set the namespace for the rts fs functions
, arg $ "-DFS_NAMESPACE=rts"