diff options
author | Dmitry Goncharov <dgoncharov@users.sf.net> | 2023-04-30 09:26:29 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2023-04-30 09:40:50 -0400 |
commit | 0880e5c86ab7ba92c3ba0f83bab1a230906ee657 (patch) | |
tree | 75fccb4b7d42e54162b2bcf855ddd08868c8e749 /src/variable.c | |
parent | 0e06c7588961bb04c7bb01606356941baf1cb146 (diff) | |
download | make-git-0880e5c86ab7ba92c3ba0f83bab1a230906ee657.tar.gz |
[SV 64107] Disable builtins immediately on -R or -r
Disable builtin variables and rules immediately, when -R or -r is
added to MAKEFLAGS inside the makefile.
* src/main.c (disable_builtins): Add new function disable_builtins().
(main): Call disable_builtins().
(reset_makeflags): Call disable_builtins().
* tests/scripts/options/dash-r: Add tests.
* tests/scripts/variables/MAKEFLAGS: Update tests.
Diffstat (limited to 'src/variable.c')
0 files changed, 0 insertions, 0 deletions