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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to