Skip to content
  • Ben Gamari's avatar
    hadrian: Drop -Werror=unused-but-set-variable from GHC flags · d7cedd9d
    Ben Gamari authored and Marge Bot's avatar Marge Bot committed
    Previously `hadrian` would pass `-optc-Werror=unused-but-set-variable`
    to all GHC invocations. This was a difference from the make build system
    and cause the unregisterised build to fail as the C that GHC produces
    contains many unused functions. Drop it from the GHC flags.
    
    Note, however, that the flag is still present in
    `Settings.Builders.Common.cWarnings` and therefore will still be applied
    during compilation of C sources.
    d7cedd9d