Skip to content

Allow overriding LD_STAGE0 and AR_STAGE0 in the configure script.

Judah Jacobson requested to merge judah/ghc:stage0 into master

Allow overriding LD_STAGE0 and AR_STAGE0 in the configure script.

Previously it was possible to override the stage0 C compiler via CC_STAGE0, but you couldn't override ld or ar in stage0. This change allows overriding them by setting LD_STAGE0 or AR_STAGE0, respectively.

Our team uses this feature internally to take more control of our GHC build and make it run more hermetically.

Merge request reports