tail -1 deprecation breaks Makefile (in some cases)

"Kerin Millar" <[email protected]>
Newsgroups gmane.linux.wolk.devel
Message-ID <[email protected]>
Hi Marc,

it seems that some instances of coreutils deprecate the use of 'tail -1'
and crap out with a warning if that syntax is used. At the least, this can
cause the LINUX_COMPILER define not to be set correctly. Changing line
#466 (4.10-pre7 here) to:

 @echo \#define LINUX_COMPILER \"`$(CC) $(CFLAGS) -v 2>&1 | tail -n 1`\"
>> .ver

should fix it.

Regards,

--Kerin Francis Millar


-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
WOLK - Working Overloaded Linux Kernel
[email protected]
https://lists.sourceforge.net/lists/listinfo/wolk-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.