Build library Setup.hs's with -Wall
authorIan Lynagh <igloo@earth.li>
Wed, 11 Apr 2007 00:25:16 +0000 (00:25 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 11 Apr 2007 00:25:16 +0000 (00:25 +0000)
libraries/Makefile

index 881cfc2..ff20ce3 100644 (file)
@@ -98,7 +98,7 @@ $(foreach SUBDIR,$(SUBDIRS),$(SUBDIR)/setup/Setup): \
        -$(RM) -rf $*/setup
        mkdir $*/setup
        $(CP) $*/Setup.*hs $*/setup
-       cd $*/setup && $(GHC) --make -i../../$(BOOTSTRAPPING_CABAL) Setup.*hs -o Setup
+       cd $*/setup && $(GHC) -Wall --make -i../../$(BOOTSTRAPPING_CABAL) Setup.*hs -o Setup
 
 stamp/$(BOOTSTRAPPING_CABAL):
        $(RM) -rf $(BOOTSTRAPPING_CABAL)