Commit 31bcf9b6 authored by Ben Gamari's avatar Ben Gamari Committed by Ben Gamari
Browse files

Apply WERROR only to stage2 HC options

Otherwise validate unnecessarily may fail during the stage1 build when
booting with an older compiler.

Test Plan: Try it

Reviewers: thomie, austin

Reviewed By: thomie, austin

Differential Revision:
parent 3021cc06
......@@ -143,7 +143,8 @@ include mk/
# (Optional) build-specific configuration
include mk/
GhcStage2HcOpts += $(WERROR)
GhcLibHcOpts += $(WERROR)
# -----------------------------------------------------------------------------
# Check for inconsistent settings, after reading mk/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment