Commit 44e077a
committed
cabal-install: dynExe+profExe requires prof+dyn
This commit updates the logic in cabal-install's 'elaborateInstallPlan'
function to ensure that we don't try to build a profiled dynamic
executable if the compiler doesn't support the profiling dynamic way.
This brings the logic in cabal-install in sync with the Cabal
'configureProfiling' function, which sets 'withDynExe' to false if the
user wants a profiled executable but prof+dyn is not supported by the
compiler.1 parent 01217ac commit 44e077a
File tree
2 files changed
+16
-7
lines changed- Cabal/src/Distribution/Simple
- cabal-install/src/Distribution/Client
2 files changed
+16
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
509 | 509 | | |
510 | 510 | | |
511 | 511 | | |
512 | | - | |
513 | | - | |
514 | | - | |
515 | | - | |
516 | | - | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
517 | 519 | | |
518 | 520 | | |
519 | 521 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2279 | 2279 | | |
2280 | 2280 | | |
2281 | 2281 | | |
2282 | | - | |
| 2282 | + | |
| 2283 | + | |
| 2284 | + | |
| 2285 | + | |
| 2286 | + | |
| 2287 | + | |
2283 | 2288 | | |
2284 | 2289 | | |
2285 | | - | |
| 2290 | + | |
2286 | 2291 | | |
2287 | 2292 | | |
2288 | 2293 | | |
| |||
2297 | 2302 | | |
2298 | 2303 | | |
2299 | 2304 | | |
| 2305 | + | |
| 2306 | + | |
2300 | 2307 | | |
2301 | 2308 | | |
2302 | 2309 | | |
| |||
0 commit comments