Commit 81996094 authored by Ben Gamari's avatar Ben Gamari 🐢

Only apply WERROR to Stage2HcOpts and LibHcOpts

This prevents warnings from the bootstrap compiler from killing validation
parent 5144990c
...@@ -31,10 +31,10 @@ SRC_CC_WARNING_OPTS += -Wno-unknown-pragmas ...@@ -31,10 +31,10 @@ SRC_CC_WARNING_OPTS += -Wno-unknown-pragmas
endif endif
SRC_CC_OPTS += $(WERROR) -Wall SRC_CC_OPTS += $(WERROR) -Wall
SRC_HC_OPTS += $(WERROR) -Wall SRC_HC_OPTS += -Wall
GhcStage1HcOpts += -fwarn-tabs GhcStage1HcOpts += -fwarn-tabs
GhcStage2HcOpts += -fwarn-tabs GhcStage2HcOpts += -fwarn-tabs $(WERROR)
GhcLibHcOpts += $(WERROR)
utils/hpc_dist-install_EXTRA_HC_OPTS += -fwarn-tabs utils/hpc_dist-install_EXTRA_HC_OPTS += -fwarn-tabs
......
Markdown is supported
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