Fix build when XCC is defined and X_COMPILER_TYPE is not

This commit is contained in:
Baptiste Daroussin 2014-10-09 09:46:44 +00:00
parent 259f12da87
commit 46d3ab7588

View File

@ -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