mirror of
https://github.com/corda/corda.git
synced 2025-01-04 04:04:27 +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)
|
ifeq ($(continuations),true)
|
||||||
cflags += -DAVIAN_CONTINUATIONS
|
cflags += -DAVIAN_CONTINUATIONS
|
||||||
|
asmflags += -DAVIAN_CONTINUATIONS
|
||||||
endif
|
endif
|
||||||
|
|
||||||
bootimage-generator-sources = $(src)/bootimage.cpp
|
bootimage-generator-sources = $(src)/bootimage.cpp
|
||||||
@ -425,7 +426,7 @@ endef
|
|||||||
define compile-asm-object
|
define compile-asm-object
|
||||||
@echo "compiling $(@)"
|
@echo "compiling $(@)"
|
||||||
@mkdir -p $(dir $(@))
|
@mkdir -p $(dir $(@))
|
||||||
$(cc) -I$(src) -c $(<) -o $(@)
|
$(cc) -I$(src) $(asmflags) -c $(<) -o $(@)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(vm-cpp-objects): $(native-build)/%.o: $(src)/%.cpp $(vm-depends)
|
$(vm-cpp-objects): $(native-build)/%.o: $(src)/%.cpp $(vm-depends)
|
||||||
|
Loading…
Reference in New Issue
Block a user