Changeset 1408 for trunk/src/kmk/variable.c
- Timestamp:
- Mar 17, 2008, 11:21:36 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/variable.c
r1334 r1408 1536 1536 #endif 1537 1537 1538 #ifdef CONFIG_WITH_LOCAL_VARIABLES 1539 /* If we have += but we're in a target or local variable context, 1540 we want to append only with other variables in the context of 1541 this target. */ 1542 if (target_var || origin == o_local) 1543 #else 1538 1544 /* If we have += but we're in a target variable context, we want to 1539 1545 append only with other variables in the context of this target. */ 1540 1546 if (target_var) 1547 #endif 1541 1548 { 1542 1549 append = 1; … … 1734 1741 #endif 1735 1742 origin, flavor == f_recursive, 1743 #ifdef CONFIG_WITH_LOCAL_VARIABLES 1744 (target_var || origin == o_local 1745 #else 1736 1746 (target_var 1747 #endif 1737 1748 ? current_variable_set_list->set : NULL), 1738 1749 flocp); … … 1868 1879 /* Try to interpret LINE (a null-terminated string) as a variable definition. 1869 1880 1870 ORIGIN may be o_file, o_override, o_env, o_env_override, 1881 ORIGIN may be o_file, o_override, o_env, o_env_override, o_local, 1871 1882 or o_command specifying that the variable definition comes 1872 1883 from a makefile, an override directive, the environment with … … 1935 1946 origin = _("automatic"); 1936 1947 break; 1948 #ifdef CONFIG_WITH_LOCAL_VARIABLES 1949 case o_local: 1950 origin = _("`local' directive"); 1951 break; 1952 #endif 1937 1953 case o_invalid: 1938 1954 default:
Note:
See TracChangeset
for help on using the changeset viewer.