mirror of
https://github.com/corda/corda.git
synced 2025-01-01 02:36:44 +00:00
pass -DAVIAN_CONTINUATIONS to assembler when continuations enabled
This commit is contained in:
parent
ec60b844d4
commit
ca4e62cdb7
3
makefile
3
makefile
@ -266,6 +266,7 @@ endif
|
||||
|
||||
ifeq ($(continuations),true)
|
||||
cflags += -DAVIAN_CONTINUATIONS
|
||||
asmflags += -DAVIAN_CONTINUATIONS
|
||||
endif
|
||||
|
||||
bootimage-generator-sources = $(src)/bootimage.cpp
|
||||
@ -425,7 +426,7 @@ endef
|
||||
define compile-asm-object
|
||||
@echo "compiling $(@)"
|
||||
@mkdir -p $(dir $(@))
|
||||
$(cc) -I$(src) -c $(<) -o $(@)
|
||||
$(cc) -I$(src) $(asmflags) -c $(<) -o $(@)
|
||||
endef
|
||||
|
||||
$(vm-cpp-objects): $(native-build)/%.o: $(src)/%.cpp $(vm-depends)
|
||||
|
Loading…
Reference in New Issue
Block a user