Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-06-24 12:04:22 +0400
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-06-25 21:15:39 +0400
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