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-cc = gcc
ifeq ($(arch),i386)
cxx = $(build-cxx) -m32
cc = $(build-cc) -m32
endif
ifeq ($(arch),x86_64)
cxx = $(build-cxx) -m64
cc = $(build-cc) -m64
cxx = $(build-cxx)
cc = $(build-cc)
ifneq ($(platform),darwin)
ifeq ($(arch),i386)
cxx = $(cxx) -m32
cc = $(cc) -m32
endif
ifeq ($(arch),x86_64)
cxx = $(cxx) -m64
cc = $(cc) -m64
endif
endif
ar = ar
ranlib = ranlib
dlltool = dlltool