svn commit: r272813 - head

Baptiste Daroussin bapt at FreeBSD.org
Thu Oct 9 09:46:45 UTC 2014


Author: bapt
Date: Thu Oct  9 09:46:44 2014
New Revision: 272813
URL: https://svnweb.freebsd.org/changeset/base/272813

Log:
  Fix build when XCC is defined and X_COMPILER_TYPE is not

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1	Thu Oct  9 09:12:08 2014	(r272812)
+++ head/Makefile.inc1	Thu Oct  9 09:46:44 2014	(r272813)
@@ -347,7 +347,7 @@ TARGET_ABI=	gnueabihf
 TARGET_ABI=	gnueabi
 .endif
 .endif
-.if ${X_COMPILER_TYPE} == gcc
+.if defined(X_COMPILER_TYPE) && ${X_COMPILER_TYPE} == gcc
 XFLAGS+=	-isystem ${WORLDTMP}/usr/include -L${WORLDTMP}/usr/lib
 .else
 TARGET_ABI?=	unknown


More information about the svn-src-all mailing list