From: Ian Lynagh Date: Tue, 21 Sep 2010 19:37:21 +0000 (+0000) Subject: Don't use -march=i686 on powerpc-apple-darwin X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=2d8835178b858bd6e533e456d7811bb540d44bcf Don't use -march=i686 on powerpc-apple-darwin Thorikil ran into this when doing a PPC OS X build. We now also don't use -m32 on PPC/OSX, but I don't think it should be necessary. We can add it back if it does turn out to be. --- diff --git a/aclocal.m4 b/aclocal.m4 index d9a1434..bee5085 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -10,7 +10,7 @@ AC_DEFUN([FPTOOLS_SET_C_LD_FLAGS], [ case $$1 in - i386-apple-darwin|powerpc-apple-darwin) + i386-apple-darwin) # By default, gcc on OS X will generate SSE # instructions, which need things 16-byte aligned, # but we don't 16-byte align things. Thus drop