X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=m4%2Fpandora_platform.m4;h=4e54562dce534597cbaa7db144a49ca5b20fb07e;hb=9dc50c36c14c34741170db9da948b62ae1fe6a24;hp=678b51ea029e2b6dd62a9d12bd420fe37744d298;hpb=9141e90dccb732d6e7ef10ea248ce2fd7d1ef46b;p=awesomized%2Flibmemcached diff --git a/m4/pandora_platform.m4 b/m4/pandora_platform.m4 index 678b51ea..4e54562d 100644 --- a/m4/pandora_platform.m4 +++ b/m4/pandora_platform.m4 @@ -74,4 +74,12 @@ AC_DEFUN([PANDORA_PLATFORM],[ [Cause Sun Studio to not be quite so strict with standards conflicts]) ]) + AS_IF([test "x$TARGET_OSX" = "xtrue"],[ + AS_IF([test "x$ac_enable_fat_binaries" = "xyes"],[ + AM_CFLAGS="-arch i386 -arch x86_64 -arch ppc" + AM_CXXFLAGS="-arch i386 -arch x86_64 -arch ppc" + AM_LDFLAGS="-arch i386 -arch x86_64 -arch ppc" + ]) + ]) + ])