[MPlayer-dev-eng] [PATCH] fix compilation with nasm
Dave Yeo
dave.r.yeo at gmail.com
Tue Sep 28 05:24:20 CEST 2010
On 09/27/10 11:40 am, Reimar Döffinger wrote:
> Hello,
> I suspect this is a nasm bug (or intentional-but-strange behaviour), but
> to compile with nasm I need this change:
> Index: common.mak
> ===================================================================
> --- common.mak (revision 32390)
> +++ common.mak (working copy)
> @@ -36,7 +36,7 @@
> IFLAGS := -I$(BUILD_ROOT_REL) -I$(SRC_PATH)
> CPPFLAGS := $(IFLAGS) $(CPPFLAGS)
> CFLAGS += $(ECFLAGS)
> -YASMFLAGS += $(IFLAGS) -Pconfig.asm
> +YASMFLAGS += $(IFLAGS) -P$(BUILD_ROOT_REL)/config.asm
>
> HOSTCFLAGS += $(IFLAGS)
>
I didn't need this 5 days ago but do now.
The problem is that nasm is more strict with include paths, it doesn't
add a trailing / also only one path per -I
Another fix is
-IFLAGS := -I$(BUILD_ROOT_REL) -I$(SRC_PATH)
+IFLAGS := -I$(BUILD_ROOT_REL)/ -I$(SRC_PATH)
Dave
More information about the MPlayer-dev-eng
mailing list