Changeset 2686


Ignore:
Timestamp:
Jul 8, 2013, 1:22:01 AM (12 years ago)
Author:
bird
Message:

YASM.kmk: define KBUILD_GENERATING_MAKEFILE_DEPENDENCIES when doing the -M run, as the AssertCompileSize macro in iprt/asmdefs.mac causes trouble because yasm doesn't do structures. YASM should define something of their own when only doing preprocessing...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/tools/YASM.kmk

    r2413 r2686  
    7676                -o $(obj)\
    7777                $(abspath $(source))
    78         $(QUIET)$(REDIRECT) -wo $(dep) -- $(TOOL_YASM_AS)\
     78        $(QUIET)$(REDIRECT) -wo $(dep) -- $(TOOL_YASM_AS) -DKBUILD_GENERATING_MAKEFILE_DEPENDENCIES\
    7979                $(flags) $(addsuffix /,$(addprefix -I, $(incs))) $(addprefix -D, $(defs))\
    8080                -o $(obj) \
Note: See TracChangeset for help on using the changeset viewer.