VirtualBox

Changeset 1951 in kBuild


Ignore:
Timestamp:
Oct 26, 2008 5:44:28 AM (16 years ago)
Author:
bird
Message:

commands.c: Fixed CONFIG_WITH_LAZY_DEPS_VARS regression wrt. to rehash'ed file, i.e. VPATH.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/commands.c

    r1948 r1951  
    185185  /* Compute the values for $^, $+, $?, and $|.  */
    186186#ifdef CONFIG_WITH_LAZY_DEPS_VARS
    187   if (   file->double_colon
    188       && (   file->double_colon != file
    189           || file->last != file))
     187  /* Lazy doesn't work for double colon rules with multiple files with
     188     commands, nor for files that has been thru rehash_file() (vpath).  */
     189  if (   (   file->double_colon
     190          && (   file->double_colon != file
     191             || file->last != file))
     192      || file->name != file->hname) /* XXX: Rehashed files should be fixable! */
    190193#endif
    191194  {
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette