forked from gentoo-haskell/gentoo-haskell
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-haskell/hadrian: Remove --with-cc configure flag
Bug: gentoo-haskell#1522 Signed-off-by: hololeap <[email protected]>
- Loading branch information
Showing
10 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
dev-haskell/hadrian/files/hadrian-9.10.1-remove-with-cc-configure-flag.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
From: hololeap <[email protected]> | ||
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 <[email protected]> | ||
--- a/src/Settings/Builders/Cabal.hs | ||
+++ b/src/Settings/Builders/Cabal.hs | ||
@@ -203,7 +203,6 @@ configureArgs cFlags' ldFlags' = do | ||
, conf "--with-curses-libraries" $ arg =<< getSetting CursesLibDir | ||
-- ROMES:TODO: how is the Host set to TargetPlatformFull? That would be the target | ||
, conf "--host" $ arg =<< getSetting TargetPlatformFull | ||
- , conf "--with-cc" $ arg =<< getBuilderPath . (Cc CompileC) =<< getStage | ||
, ghcVersionH | ||
] | ||
|
||
-- | ||
2.44.2 |
25 changes: 25 additions & 0 deletions
25
dev-haskell/hadrian/files/hadrian-9.4.8-remove-with-cc-configure-flag.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From: hololeap <[email protected]> | ||
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 <[email protected]> | ||
--- 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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters