Commit bd761185 authored by Ben Gamari's avatar Ben Gamari 🐢 Committed by Marge Bot
Browse files

hadrian: Drop redundant GHC arguments

Cabal should already be passing this arguments to GHC.
parent 8bab9ff1
...@@ -273,10 +273,6 @@ rtsPackageArgs = package rts ? do ...@@ -273,10 +273,6 @@ rtsPackageArgs = package rts ? do
let ghcArgs = mconcat let ghcArgs = mconcat
[ arg "-Irts" [ arg "-Irts"
, arg $ "-I" ++ path , 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 ++ "\"" , arg $ "-DRtsWay=\"rts_" ++ show way ++ "\""
-- Set the namespace for the rts fs functions -- Set the namespace for the rts fs functions
, arg $ "-DFS_NAMESPACE=rts" , arg $ "-DFS_NAMESPACE=rts"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment