Commit 32c2283
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 f5453c7 commit 32c2283
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 | |
|---|---|---|---|
| |||
2315 | 2315 | | |
2316 | 2316 | | |
2317 | 2317 | | |
2318 | | - | |
| 2318 | + | |
| 2319 | + | |
| 2320 | + | |
| 2321 | + | |
| 2322 | + | |
| 2323 | + | |
2319 | 2324 | | |
2320 | 2325 | | |
2321 | | - | |
| 2326 | + | |
2322 | 2327 | | |
2323 | 2328 | | |
2324 | 2329 | | |
| |||
2333 | 2338 | | |
2334 | 2339 | | |
2335 | 2340 | | |
| 2341 | + | |
| 2342 | + | |
2336 | 2343 | | |
2337 | 2344 | | |
2338 | 2345 | | |
| |||
0 commit comments