[Git][ghc/ghc][wip/libdw-path] hadrian: Drop redundant GHC arguments

Ben Gamari gitlab at gitlab.haskell.org
Fri Jun 12 22:16:30 UTC 2020



Ben Gamari pushed to branch wip/libdw-path at Glasgow Haskell Compiler / GHC


Commits:
9ee77eca by Ben Gamari at 2020-06-12T18:16:01-04:00
hadrian: Drop redundant GHC arguments

Cabal should already be passing this arguments to GHC.

- - - - -


1 changed file:

- hadrian/src/Settings/Packages.hs


Changes:

=====================================
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"



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/9ee77eca90f2f9be3ad2d02fea28f0a72678cd1a

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/9ee77eca90f2f9be3ad2d02fea28f0a72678cd1a
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200612/f22587d8/attachment.html>


More information about the ghc-commits mailing list