From ca4e62cdb785904243509098a1549a7575a1a5b8 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Thu, 28 May 2009 18:51:53 -0600 Subject: [PATCH] pass -DAVIAN_CONTINUATIONS to assembler when continuations enabled --- makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index b9a8f15078..a6845d4abb 100644 --- a/makefile +++ b/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)