Updated to always specify bitness of target. cc and cxx will always have -m32 or -m64 appended based on the arch that is being built.

This commit is contained in:
Matt Klich 2010-02-04 11:15:16 -07:00
parent 48834be209
commit 9d5e0bb154

View File

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