From: Duncan C. <dun...@us...> - 2005-06-02 19:15:24
|
Update of /cvsroot/gtk2hs/gtk2hs/mk In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25095/mk Modified Files: common.mk Log Message: Move the decision about what to set for the HSTOOLFLAGS from mk/common.mk to configure.ac which is a better place to make the decision and where we have access to more like whether we're runnning on a 32bit or 64bit machine. Also remove EXTRA_HFILES variable from configure.ac since it is not used anywhere. Index: common.mk =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/mk/common.mk,v retrieving revision 1.61 retrieving revision 1.62 diff -u -d -r1.61 -r1.62 --- common.mk 2 Jun 2005 00:44:13 -0000 1.61 +++ common.mk 2 Jun 2005 19:15:14 -0000 1.62 @@ -88,24 +88,6 @@ # Same for .chi .PRECIOUS: %.chi -if WIN32 -#It seems to take considerably more memory on win32. Not sure why. -#Don't use -H{x}m in combination with -M{x}m on windows since it seems to -#trigger wierd ghc rts behaviour. -HSTOOLFLAGS = -M120m -else -#change this to -H50m -M80m for a release so more people can build ok -#80Mb should be fine as it'll actually work in just 48Mb. -HSTOOLFLAGS = -H50m -M80m -endif - -.PHONY: debug -debug : - @echo VPATH: $(VPATH) - @echo hs files: $(libgtk2hs_a_HSFILES) - - - %.precomp : $(strip $(C2HS) $(C2HS_FLAGS) \ +RTS $(HSTOOLFLAGS) $(PROFFLAGS) -RTS \ |