fixed linux build because darwin fix broke it

This commit is contained in:
Hudson Build Application account 2010-02-05 17:15:12 -07:00
parent 103717a3f2
commit 48cc14f8ed

View File

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