From: Debian Haskell Group Date: Mon, 17 Feb 2025 08:44:23 +0000 (+0100) Subject: hurd-hadrian-supportrpaths X-Git-Tag: archive/raspbian/9.6.6-4+rpi1^2~11 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a6c63a2d6f3d9c7512438da434a82dce2c90bfec;p=ghc.git hurd-hadrian-supportrpaths Can be dropped with 9.8.1 Debian-Bug: https://bugs.debian.org/1056305 Gbp-Pq: Name hurd-hadrian-supportrpaths --- diff --git a/hadrian/src/Oracles/Setting.hs b/hadrian/src/Oracles/Setting.hs index f35033a6..d516d1d2 100644 --- a/hadrian/src/Oracles/Setting.hs +++ b/hadrian/src/Oracles/Setting.hs @@ -278,7 +278,7 @@ anyHostOs = matchSetting HostOs isElfTarget :: Action Bool isElfTarget = anyTargetOs [ "linux", "freebsd", "dragonfly", "openbsd", "netbsd", "solaris2", "kfreebsdgnu" - , "haiku", "linux-android" + , "gnu", "haiku", "linux-android" ] -- | Check whether the host OS supports the @-rpath@ linker option when @@ -287,7 +287,7 @@ isElfTarget = anyTargetOs -- TODO: Windows supports lazy binding (but GHC doesn't currently support -- dynamic way on Windows anyways). hostSupportsRPaths :: Action Bool -hostSupportsRPaths = anyHostOs ["linux", "darwin", "freebsd"] +hostSupportsRPaths = anyHostOs ["linux", "darwin", "freebsd", "gnu"] -- | Check whether the target supports GHCi. ghcWithInterpreter :: Action Bool