mirror of
https://github.com/corda/corda.git
synced 2025-01-04 04:04:27 +00:00
enable ARM cross builds
This commit is contained in:
parent
632e50efe6
commit
51ba49def6
15
makefile
15
makefile
@ -145,8 +145,9 @@ ifeq ($(arch),powerpc)
|
|||||||
pointer-size = 4
|
pointer-size = 4
|
||||||
endif
|
endif
|
||||||
ifeq ($(arch),arm)
|
ifeq ($(arch),arm)
|
||||||
asm = arm
|
asm = arm
|
||||||
pointer-size = 4
|
pointer-size = 4
|
||||||
|
cflags += -Wno-psabi -march=armv5t
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(platform),darwin)
|
ifeq ($(platform),darwin)
|
||||||
@ -179,6 +180,16 @@ ifeq ($(platform),darwin)
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(arch),arm)
|
||||||
|
ifneq ($(arch),$(build-arch))
|
||||||
|
cxx = arm-linux-gnueabi-g++
|
||||||
|
cc = arm-linux-gnueabi-gcc
|
||||||
|
ar = arm-linux-gnueabi-ar
|
||||||
|
ranlib = arm-linux-gnueabi-ranlib
|
||||||
|
strip = arm-linux-gnueabi-strip
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(platform),windows)
|
ifeq ($(platform),windows)
|
||||||
inc = "$(root)/win32/include"
|
inc = "$(root)/win32/include"
|
||||||
lib = "$(root)/win32/lib"
|
lib = "$(root)/win32/lib"
|
||||||
|
Loading…
Reference in New Issue
Block a user