From a6c63a2d6f3d9c7512438da434a82dce2c90bfec Mon Sep 17 00:00:00 2001 From: Debian Haskell Group Date: Mon, 17 Feb 2025 09:44:23 +0100 Subject: [PATCH] hurd-hadrian-supportrpaths Can be dropped with 9.8.1 Debian-Bug: https://bugs.debian.org/1056305 Gbp-Pq: Name hurd-hadrian-supportrpaths --- hadrian/src/Oracles/Setting.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2