X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=libraries%2FMakefile.local;h=54f94253e17bae94f3c86598afea4be19d9e267c;hb=b9d13108742ba43244490e0a90b6c80127561139;hp=0caadcffdc337e2d18e4eb23592e36058d81a30a;hpb=2de31b61d0a963803eb5632c9659c6093d74f345;p=ghc-hetmet.git diff --git a/libraries/Makefile.local b/libraries/Makefile.local index 0caadcf..54f9425 100644 --- a/libraries/Makefile.local +++ b/libraries/Makefile.local @@ -5,7 +5,7 @@ # Careful here: including boilerplate.mk breaks things, because paths.mk and # opts.mk overrides some of the variable settings in the Cabal Makefile, so # we just include config.mk and custom-settings.mk. -TOP=../.. +include ../defineTOP.mk SAVE_GHC := $(GHC) SAVE_AR := $(AR) SAVE_LD := $(LD) @@ -23,7 +23,7 @@ GhcLibHcOpts += -Wall # now at least we just disable them completely. GhcLibHcOpts += -fno-warn-deprecated-flags -ifeq "$(filter-out base-% unix-% Win32-%,$(package))" "" +ifeq "$(filter-out base-% unix-% Win32-% dph%,$(package))" "" # XXX We are one of the above list, i.e. we are a package that is not # yet warning-clean. Thus turn warnings off for now so that validate # goes through.