we need a makefileHook too
authorSimon Marlow <simonmar@microsoft.com>
Fri, 13 Apr 2007 15:13:07 +0000 (15:13 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Fri, 13 Apr 2007 15:13:07 +0000 (15:13 +0000)
Setup.hs

index 7fb1d87..d708be7 100644 (file)
--- 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