Files
gentoo/dev-haskell/hadrian/files/hadrian-9.4.8-remove-with-cc-configure-flag.patch
hololeap 40e44a5411 dev-haskell/hadrian: new package, add 9.8.4-r1
Signed-off-by: hololeap <hololeap@protonmail.com>
Signed-off-by: Mark Wright <gienah@gentoo.org>
2026-06-22 20:19:10 +10:00

26 lines
904 B
Diff

From: hololeap <hololeap@protonmail.com>
Date: Sat, 31 Aug 2024 22:26:34 -0600
Subject: [PATCH 1/1] Remove --with-cc from configure flags
configure responds with:
WARNING: unrecognized options: --with-cc
This triggers Gentoo's QA notice, "Unrecognized configure options", when
building GHC.
Signed-off-by: hololeap <hololeap@protonmail.com>
--- a/src/Settings/Builders/Cabal.hs
+++ b/src/Settings/Builders/Cabal.hs
@@ -200,7 +200,6 @@ configureArgs cFlags' ldFlags' = do
, conf "--with-gmp-libraries" $ arg =<< getSetting GmpLibDir
, conf "--with-curses-libraries" $ arg =<< getSetting CursesLibDir
, conf "--host" $ arg =<< getSetting TargetPlatformFull
- , conf "--with-cc" $ arg =<< getBuilderPath . (Cc CompileC) =<< getStage
, notStage0 ? arg "--ghc-option=-ghcversion-file=rts/include/ghcversion.h"
]
--
2.44.2