Follow-up Comment #3, bug #47880 (project make): > The change I have allows someone to reset the search path from within the makefile
Awesome. i personally, need this change to be able to skip the default search directories. > In make generally (and, IMO, correctly) the person invoking make gets the final say agree > -I directories would no longer appear in .INCLUDE_DIRS. Could be a problem. make tests use this feature. Users may use it as well. What about the following? 1. All directories specified on the command line with -I are prepended to include_directories. This is the case today. 2. Allow the makefile to modify the search path through adding -I<path> to MAKEFLAGS. https://savannah.gnu.org/bugs/?58341. 3. Ignore changes to .INCLUDE_DIRS. This is the case today. 4. Document that modifications of .INCLUDE_DIRS (from within the makefile or on the command line) do not affect the seach path. 5. Introduce a command line switch to allow the user to remove the default include directories. https://savannah.gnu.org/bugs/?60412. As far as i can see, this alternative is backward compatible and gives both the user and the makefile the power to change the search path arbitrarily. At the expense of an additional command line switch. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?47880> _______________________________________________ Сообщение отправлено по Savannah https://savannah.gnu.org/