diff options
Diffstat (limited to 'hadrian/src/Rules/Rts.hs')
-rw-r--r-- | hadrian/src/Rules/Rts.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hadrian/src/Rules/Rts.hs b/hadrian/src/Rules/Rts.hs index abc9947f4a..20a9fd1241 100644 --- a/hadrian/src/Rules/Rts.hs +++ b/hadrian/src/Rules/Rts.hs @@ -26,6 +26,7 @@ rtsRules = priority 3 $ do let buildPath = root -/- buildDir (rtsContext stage) -- Header files + -- See Note [Packaging libffi headers] in GHC.Driver.CodeOutput. forM_ libffiHeaderFiles $ \header -> buildPath -/- "include" -/- header %> copyLibffiHeader stage @@ -44,6 +45,8 @@ withLibffi stage action = needLibffi stage -- | Copy a header files wither from the system libffi or from the libffi -- build dir to the rts build dir. +-- +-- See Note [Packaging libffi headers] in GHC.Driver.CodeOutput. copyLibffiHeader :: Stage -> FilePath -> Action () copyLibffiHeader stage header = do useSystemFfi <- flag UseSystemFfi |