svn commit: r275589 - head/share/mk

Garrett Cooper ngie at FreeBSD.org
Mon Dec 8 03:32:27 UTC 2014


Author: ngie
Date: Mon Dec  8 03:32:26 2014
New Revision: 275589
URL: https://svnweb.freebsd.org/changeset/base/275589

Log:
  The previous commit should have been a logical or not a logical "and"
  
  Pointyhat to: me

Modified:
  head/share/mk/bsd.compiler.mk

Modified: head/share/mk/bsd.compiler.mk
==============================================================================
--- head/share/mk/bsd.compiler.mk	Mon Dec  8 03:30:42 2014	(r275588)
+++ head/share/mk/bsd.compiler.mk	Mon Dec  8 03:32:26 2014	(r275589)
@@ -25,7 +25,7 @@
 .if !target(__<bsd.compiler.mk>__)
 __<bsd.compiler.mk>__:
 
-.if !defined(COMPILER_TYPE) && !defined(COMPILER_VERSION)
+.if !defined(COMPILER_TYPE) || !defined(COMPILER_VERSION)
 _v!=	${CC} --version 2>/dev/null || echo 0.0.0
 .if !defined(COMPILER_TYPE)
 . if ${CC:T:M*gcc*}


More information about the svn-src-head mailing list