-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We pass manually using `--configure-option`
- Loading branch information
1 parent
6453dd9
commit 6e96ad3
Showing
2 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
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,13 @@ | ||
--- cabal-Cabal-v3.10.1.0/Cabal/src/Distribution/Simple/ConfigureScript.hs 2023-03-09 21:16:30.000000000 +0530 | ||
+++ cabal-Cabal-v3.10.1.0.mod/Cabal/src/Distribution/Simple/ConfigureScript.hs 2024-01-26 14:37:01.961853234 +0530 | ||
@@ -133,9 +133,7 @@ | ||
overEnv = ("CFLAGS", Just cflagsEnv) : | ||
[("PATH", Just pathEnv) | not (null extraPath)] ++ | ||
cabalFlagEnv | ||
- hp = hostPlatform lbi | ||
- maybeHostFlag = if hp == buildPlatform then [] else ["--host=" ++ show (pretty hp)] | ||
- args' = configureFile':args ++ ["CC=" ++ ccProgShort] ++ maybeHostFlag | ||
+ args' = configureFile':args ++ ["CC=" ++ ccProgShort] | ||
shProg = simpleProgram "sh" | ||
progDb = modifyProgramSearchPath | ||
(\p -> map ProgramSearchPathDir extraPath ++ p) emptyProgramDb |
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