mirror of
https://github.com/corda/corda.git
synced 2025-01-17 02:09:50 +00:00
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:
parent
48834be209
commit
9d5e0bb154
10
makefile
10
makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user