bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #60412] Avoid default include directories when searching for includ


From: Paul D. Smith
Subject: [bug #60412] Avoid default include directories when searching for included files.
Date: Sun, 5 Sep 2021 22:49:51 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36

Update of bug #60412 (project make):

                  Status:                    None => Fixed                  
             Assigned to:                    None => psmith                 
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

This was fixed by providing two enhancements:

First, it's now possible to add a "-I-" option to the command line.  If this
is done then make forgets about any include file search directories that
precede this option (including the default ones).

Second, changes to the MAKEFLAGS variable inside the makefile are now parsed
immediately when that variable is modified rather than only after all
makefiles are read in.

So, it is now possible to say:

  make -I-

to remove all default search directories, and also to add:

  MAKEFLAGS += -I-

to remove all default search directories from within the makefile.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60412>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]