Changeset 21778 for branches


Ignore:
Timestamp:
Nov 1, 2011, 10:49:52 PM (14 years ago)
Author:
dmik
Message:

Add .orc path to includes when compiling resources.

This fixes builds from the top directory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/Config.kmk

    r21777 r21778  
    113113TOOL_GXX3OMF_COMPILE_WRC_DEPORD =
    114114define TOOL_GXX3OMF_COMPILE_WRC_CMDS
    115         $(QUIET)$(TOOL_GXX3OMF_WRC) -s -p _$(target) \
     115        $(QUIET)$(TOOL_GXX3OMF_WRC) -s -p _$(target) -I$(subst /,\\,$(abspath $(dir $(source))))\
    116116                $(flags) $(addprefix -I, $(subst /,\\,$(incs))) $(addprefix -D, $(defs))\
    117117                $(subst /,\\,$(abspath $(source))) \
    118118                -o $(TOOL_GXX3OMF_COMPILE_WRC_OUTPUT)
    119         $(QUIET)$(TOOL_GXX3OMF_CC) -E \
     119        $(QUIET)$(TOOL_GXX3OMF_CC) -E -I$(subst /,\\,$(abspath $(dir $(source))))\
    120120                $(flags) $(addprefix -I, $(incs)) -I . $(addprefix -D, $(defs))\
    121121                -x c $(abspath $(source)) \
Note: See TracChangeset for help on using the changeset viewer.