From: dons Date: Fri, 13 May 2005 01:46:20 +0000 (+0000) Subject: [project @ 2005-05-13 01:46:20 by dons] X-Git-Tag: Initial_conversion_from_CVS_complete~564 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=451365f9af74f40d403906e113b733e42187aa1d [project @ 2005-05-13 01:46:20 by dons] Have SplitObjs=YES by default only on i386, powerpc and sparc. Lowers the barrier to porting just a little. --- diff --git a/mk/config.mk.in b/mk/config.mk.in index c98a0a0..07ebbba 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.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