mirror of
https://github.com/corda/corda.git
synced 2025-01-01 02:36:44 +00:00
added ARM modifications to makefile
This commit is contained in:
parent
3e0c0c8116
commit
0be90bc769
15
makefile
15
makefile
@ -140,6 +140,21 @@ ifeq ($(arch),powerpc)
|
||||
object-format = elf32-powerpc
|
||||
pointer-size = 4
|
||||
endif
|
||||
ifeq ($(arch),arm)
|
||||
lflags := -L/opt/crosstool/gcc-4.1.0-glibc-2.3.2/arm-unknown-linux-gnu/arm-unknown-linux-gnu/lib -L$(root)/arm/lib $(lflags)
|
||||
cflags := -I/opt/crosstool/gcc-4.1.0-glibc-2.3.2/arm-unknown-linux-gnu/arm-unknown-linux-gnu/include -I$(root)/arm/include $(cflags)
|
||||
|
||||
asm = arm
|
||||
object-arch = arm
|
||||
object-format = elf32-littlearm
|
||||
pointer-size = 4
|
||||
cxx = arm-unknown-linux-gnu-g++
|
||||
cc = arm-unknown-linux-gnu-gcc
|
||||
ar = arm-unknown-linux-gnu-ar
|
||||
ranlib = arm-unknown-linux-gnu-ranlib
|
||||
objcopy = arm-unknown-linux-gnu-objcopy
|
||||
strip = arm-unknown-linux-gnu-strip
|
||||
endif
|
||||
|
||||
ifeq ($(platform),darwin)
|
||||
build-cflags = $(common-cflags) -fPIC -fvisibility=hidden -I$(src)
|
||||
|
Loading…
Reference in New Issue
Block a user