summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-06-12 18:16:01 -0400
committerBen Gamari <ben@well-typed.com>2020-06-13 15:20:16 -0400
commit918da12720526a4238865fee13365c0d92eb0438 (patch)
tree91babf630d554dac46d87a374ff73bdb14ad1a05
parent0fb31831be2aef89df74fb1305ad26e12fb2fc46 (diff)
downloadhaskell-wip/libdw-path.tar.gz
hadrian: Drop redundant GHC argumentswip/libdw-path
Cabal should already be passing this arguments to GHC.
-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"