From c5cf0f7a76e80996bd6d2786408cd24bbef605de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Fri, 24 Jun 2011 10:04:22 +0200 Subject: [PATCH] Fix compilation in subdir with NASM. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Reimar Döffinger --- common.mak | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common.mak b/common.mak index 9a59f77fdd..66bbed4a40 100644 --- a/common.mak +++ b/common.mak @@ -26,7 +26,8 @@ $(foreach VAR,$(SILENT),$(eval override $(VAR) = @$($(VAR)))) $(eval INSTALL = @$(call ECHO,INSTALL,$$(^:$(SRC_DIR)/%=%)); $(INSTALL)) endif -IFLAGS := -I. -I$(SRC_PATH) +# NASM requires -I path terminated with / +IFLAGS := -I. -I$(SRC_PATH)/ CPPFLAGS := $(IFLAGS) $(CPPFLAGS) CFLAGS += $(ECFLAGS) YASMFLAGS += $(IFLAGS) -Pconfig.asm