X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=mk%2Fconfig.mk.in;h=62875259b1d9cb2cdc3a01064c1c0b90d576fbb5;hp=73e9e6920fe9e8f9162d030a171bf3ec63effd3e;hb=70391624e84eb5dc6239a380f31144b8830f788f;hpb=89d6434a7ddb499c5b09eb3c70437782b0dcd501 diff --git a/mk/config.mk.in b/mk/config.mk.in index 73e9e69..6287525 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -187,7 +187,7 @@ IncludeExampleDirsInBuild=NO # # Which ways should DocBook XML documents be built? -# options are: dvi ps pdf html +# options are: dvi ps pdf html chm HxS # XMLDocWays= @@ -313,7 +313,7 @@ endif ifeq "$(BootingFromHc)" "YES" GhcRTSWays= else -GhcRTSWays=thr thr_p debug +GhcRTSWays=thr thr_p debug thr_debug endif # Option flags to pass to GHC when it's compiling modules in @@ -348,11 +348,14 @@ StripLibraries=NO # Don't use -split-objs in in GhcLibHcOpts, because the build # system needs to do other special magic if you are # doing object-file splitting +ifneq "$(findstring $(HostArch_CPP), i386 powerpc sparc)" "" +SplitObjs=YES +else +SplitObjs=NO +endif # Don't split object files for libs if we're building DLLs, or booting from # .hc files. -SplitObjs=YES - ifeq "$(DLLized)" "YES" SplitObjs=NO endif @@ -1074,6 +1077,10 @@ WAY_debug_p_HC_OPTS=-optc-DDEBUG -prof WAY_debug_u_NAME=debug unregisterised WAY_debug_u_HC_OPTS=-optc-DDEBUG -unreg +# Way 'debug_s': +WAY_debug_s_NAME=debug SMP +WAY_debug_s_HC_OPTS=-optc-DDEBUG -smp + # Way 'thr_debug': WAY_thr_debug_NAME=threaded WAY_thr_debug_HC_OPTS=-optc-DTHREADED_RTS -optc-DDEBUG