diff options
author | Paul Smith <psmith@gnu.org> | 2021-05-30 18:47:50 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2021-09-03 12:08:11 -0400 |
commit | b9c4fc441b2d66312a592bf4eab67ef7fbe4c645 (patch) | |
tree | 51d517f6cb9b6398eed3abdc53259cddce51b786 /NEWS | |
parent | 65b73ce4342cdfa2486be406e9df5f9effb7fd7c (diff) | |
download | make-git-b9c4fc441b2d66312a592bf4eab67ef7fbe4c645.tar.gz |
[SV 60412] Allow -I- to throw out the current directory path
Accept a "-" directory value to the -I option to clear the set of
directories to be searched up to that point, including the default
directories.
* NEWS: Announce the change.
* doc/make.texi (Summary of Options): Add documentation.
* src/read.c (construct_include_path): Check for '-' and if found,
clear the list of directories to be searched.
* tests/scripts/options/dash-I: Add tests for -I-.
* tests/scripts/variables/INCLUDE_DIRS: Add tests for -I-.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -50,6 +50,10 @@ https://sv.gnu.org/bugs/index.php?group=make&report_id=111&fix_release_id=109&se user-defined function and they will not impact global variable assignments. Implementation provided by Jouke Witteveen <j.witteveen@gmail.com> +* The -I option accepts an argument "-" (e.g., "-I-") which means "reset the + list of search directories to empty". Among other things this can be used + to prevent GNU make from searching in its default list of directories. + * New debug option "print" will show the recipe to be run, even when silent mode is set, and new debug option "why" will show why a target is rebuilt (which prerequisites caused the target to be considered out of date). |