pass -DAVIAN_CONTINUATIONS to assembler when continuations enabled

This commit is contained in:
Joel Dice 2009-05-28 18:51:53 -06:00
parent ec60b844d4
commit ca4e62cdb7

View File

@ -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)