ghc-cabal: Use fromFlagOrDefault instead of fromFlag

Authored by bgamari on Jul 19 2019, 8:33 PM.

Description

ghc-cabal: Use fromFlagOrDefault instead of fromFlag

As fromFlag is partial. The only case where we used fromFlag is when
determining whether to strip libraries; we now assume that we shouldn't.

Details

Committed
Marge Bot <ben+marge-bot@smart-cactus.org>Jul 21 2019, 4:04 AM
Parents
rGHC32be44613fed: Fix #8487: Debugger confuses variables
Branches
Unknown
Tags
Unknown
Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC4854a3490518: ghc-cabal: Use fromFlagOrDefault instead of fromFlag (authored by bgamari).Jul 21 2019, 4:04 AM