From 58dae243526bd322ae6bec0c4394a117a5fe0171 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 13 May 2013 04:29:35 -0400 Subject: [Savannah #20501] Handle adding -r/-R to MAKEFLAGS in the makefile. If -R is set in the makefile and not the command line, then go through all the default variables and undefine them. If -r is set in the makefile and not in the command line, then remove all .SUFFIX prefixes (unless the user set it) and SUFFIX variable setting. In -p mode don't print builtins. --- ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index d73e22d..d482c2c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,16 @@ 2013-05-13 Paul Smith + * filedef.h (struct file): Add a builtin flag. + * file.c (enter_file): Unset the builtin flag. + (rehash_file): Ditto. + (print_file): Don't print builtin files if we've omitted them. + * default.c (undefine_default_variables): New function: go through + the default variables and undefine them. + (set_default_suffixes): Mark these suffix rules as builtin. + * makeint.h: Prototype. + * main.c (main): Handle addition of -r and -R to MAKEFLAGS in the + makefile. Fixes Savannah bug #20501. + * main.c (define_makeflags): Assign o_env_override level to MAKEFLAGS to ensure it's set even in the presence of -e. Fixes Savannah bug #2216. -- cgit v1.2.3