aboutsummaryrefslogtreecommitdiff
path: root/common.mak
diff options
context:
space:
mode:
authorReimar Döffinger2011-06-24 10:04:22 +0200
committerReimar Döffinger2011-06-25 19:15:39 +0200
commitc5cf0f7a76e80996bd6d2786408cd24bbef605de (patch)
tree1f430d6247f1f9ede2c64f76fdd86fc0757dded8 /common.mak
parentfe343286ec5564606f29aa94848bc5dc3b2b3709 (diff)
Fix compilation in subdir with NASM.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'common.mak')
-rw-r--r--common.mak3
1 files changed, 2 insertions, 1 deletions
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