Fixed darwin build.

This commit is contained in:
Matt Klich 2010-02-05 16:40:48 -07:00
parent 9d5e0bb154
commit d4cae8f15e

View File

@ -77,14 +77,19 @@ input = List
build-cxx = g++ build-cxx = g++
build-cc = gcc build-cc = gcc
ifeq ($(arch),i386) cxx = $(build-cxx)
cxx = $(build-cxx) -m32 cc = $(build-cc)
cc = $(build-cc) -m32 ifneq ($(platform),darwin)
endif ifeq ($(arch),i386)
ifeq ($(arch),x86_64) cxx = $(cxx) -m32
cxx = $(build-cxx) -m64 cc = $(cc) -m32
cc = $(build-cc) -m64 endif
ifeq ($(arch),x86_64)
cxx = $(cxx) -m64
cc = $(cc) -m64
endif
endif endif
ar = ar ar = ar
ranlib = ranlib ranlib = ranlib
dlltool = dlltool dlltool = dlltool