mirror of
https://github.com/corda/corda.git
synced 2025-01-19 11:16:54 +00:00
detect and prohibit unsupported bootimage cross-builds in makefile
This commit is contained in:
parent
8cf67a76ad
commit
028fd42f5e
8
makefile
8
makefile
@ -389,7 +389,13 @@ bootimage-object = $(native-build)/bootimage-bin.o
|
||||
|
||||
ifeq ($(bootimage),true)
|
||||
ifneq ($(build-arch),$(arch))
|
||||
error "can't cross-build a bootimage"
|
||||
$(error "bootimage cross-builds not yet supported")
|
||||
endif
|
||||
|
||||
ifeq ($(arch),x86_64)
|
||||
ifneq ($(build-platform),$(platform))
|
||||
$(error "bootimage cross-builds not yet supported")
|
||||
endif
|
||||
endif
|
||||
|
||||
vm-classpath-object = $(bootimage-object)
|
||||
|
Loading…
Reference in New Issue
Block a user