X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fconfig.mk.in;h=07ebbba1dc49dc2efc1190e9e2ed6927677fe2a0;hb=451365f9af74f40d403906e113b733e42187aa1d;hp=c98a0a07fccfab4300f4e27e42e778a5c079cc22;hpb=9f0cc7140e7655240b97eac0e105e77a34f07d84;p=ghc-hetmet.git 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