Changeset 3496 for trunk/kBuild


Ignore:
Timestamp:
Mar 31, 2021, 8:12:42 PM (4 years ago)
Author:
bird
Message:

StandardDTrace.kmk: Don't include precompiled headers from gcc/clang in the list of object files we pass to dtrace.

File:
1 edited

Legend:

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

    r3121 r3496  
    4343TOOL_StandardDTrace_DTRACE_OBJ_NOT_NEEDED := darwin
    4444TOOL_StandardDTrace_DTRACE_OBJ_FLAGS := -G
     45# Note! We have to exclude gcc style precompiled headers here as they are automatically
     46#       added to the list of object files (see func_kbuild_source_one in kbuild.c).
    4547define TOOL_StandardDTrace_DTRACE_OBJ_CMDS 
    4648        $(QUIET)$(TOOL_StandardDTrace_DTRACE) \
     
    4850                $(flags) \
    4951                -o "$(out)" -s "$(source)" \
    50                 $$(filter-out %-dtrace-object-format.o, $$($(target)_2_OBJS))
     52                $$(filter-out %-dtrace-object-format.o $$($(target)_1_GCC_PCH_FILE), $$($(target)_2_OBJS))
    5153endef
    5254
Note: See TracChangeset for help on using the changeset viewer.