X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=configure.ac;h=dcea6e1382b0f6ac1c69fcbdaf0294d0a909b096;hp=31baed26dad6e3c689dcc99a1e8a3ed3ed46b6a1;hb=0e7a5fb9473f7dbba3be791118f66078293246d7;hpb=c56aacad40b7afc8244676a4de5fa976cfd4cfb7 diff --git a/configure.ac b/configure.ac index 31baed2..dcea6e1 100644 --- a/configure.ac +++ b/configure.ac @@ -242,6 +242,10 @@ case $host in ;; i386-apple-darwin|powerpc-apple-darwin) soext='.dylib' + CFLAGS="$CFLAGS -m32" + LDFLAGS="$LDFLAGS -m32" + SRC_CC_OPTS="$SRC_CC_OPTS -m32" + SRC_LD_OPTS="$SRC_LD_OPTS -m32" ;; x86_64-apple-darwin) soext='.dylib'