From 451365f9af74f40d403906e113b733e42187aa1d Mon Sep 17 00:00:00 2001 From: dons Date: Fri, 13 May 2005 01:46:20 +0000 Subject: [PATCH] [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. --- mk/config.mk.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 -- 1.7.10.4