From: Simon Marlow Date: Fri, 13 Apr 2007 15:13:07 +0000 (+0000) Subject: we need a makefileHook too X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=4c2424f24222059ff21f839dccec3ecb8f87c6f2;p=ghc-base.git we need a makefileHook too --- diff --git a/Setup.hs b/Setup.hs index 7fb1d87..d708be7 100644 --- a/Setup.hs +++ b/Setup.hs @@ -27,6 +27,9 @@ main = do args <- getArgs buildHook = add_ghc_options ghcArgs $ filter_modules_hook $ buildHook defaultUserHooks, + makefileHook = add_ghc_options ghcArgs + $ filter_modules_hook + $ makefileHook defaultUserHooks, instHook = filter_modules_hook $ instHook defaultUserHooks } withArgs args'' $ defaultMainWithHooks hooks