--- haskell-devscripts/hlibrary.mk~	2011-06-04 13:21:52.000000000 -0700
+++ haskell-devscripts/hlibrary.mk	2011-09-21 14:53:18.870296160 -0700
@@ -78,7 +78,7 @@
 
 $(DEB_SETUP_BIN_NAME):
 	if test ! -e Setup.lhs -a ! -e Setup.hs; then echo "No setup script found!"; exit 1; fi
-	for setup in Setup.lhs Setup.hs; do if test -e $$setup; then ghc --make $$setup -o $(DEB_SETUP_BIN_NAME); exit 0; fi; done
+	for setup in Setup.lhs Setup.hs; do if test -e $$setup; then ghc --make $$setup -o $(DEB_SETUP_BIN_NAME) -rtsopts=all; exit 0; fi; done
 
 dist-ghc: $(DEB_SETUP_BIN_NAME)
 	$(DEB_SETUP_BIN_NAME) configure --ghc -v2 \

