Don't use -march=i686 on powerpc-apple-darwin
authorIan Lynagh <igloo@earth.li>
Tue, 21 Sep 2010 19:37:21 +0000 (19:37 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 21 Sep 2010 19:37:21 +0000 (19:37 +0000)
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.

aclocal.m4

index d9a1434..bee5085 100644 (file)
@@ -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