Author: bdrewery
Date: Sat Oct 31 02:07:30 2015
New Revision: 290220
URL: https://svnweb.freebsd.org/changeset/base/290220
Log:
Don't hide stderr when checking ${CC} --version.
This can have important debugging information such as 'cc: not found' or
'ccache: error: Could not find compiler "cc" in PATH'.
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
Modified:
head/share/mk/bsd.compiler.mk
Modified: head/share/mk/bsd.compiler.mk
==============================================================================
--- head/share/mk/bsd.compiler.mk Sat Oct 31 00:29:26 2015
(r290219)
+++ head/share/mk/bsd.compiler.mk Sat Oct 31 02:07:30 2015
(r290220)
@@ -52,7 +52,7 @@ ${var}= ${${var}.${_cc_hash}}
COMPILER_TYPE= none
COMPILER_VERSION= 0
.elif !defined(COMPILER_TYPE) || !defined(COMPILER_VERSION)
-_v!= ${CC} --version 2>/dev/null || echo 0.0.0
+_v!= ${CC} --version || echo 0.0.0
.if !defined(COMPILER_TYPE)
. if ${CC:T:M*gcc*}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"