Support CROSS_BINUTILS_PREFIX with in-tree compiler
Reviewed by: bapt, imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D1974
This commit is contained in:
parent
85e7eba604
commit
fe692231f8
@ -371,7 +371,13 @@ XCFLAGS+= -target ${TARGET_TRIPLE}
|
|||||||
XCFLAGS+= --sysroot=${WORLDTMP} ${BFLAGS}
|
XCFLAGS+= --sysroot=${WORLDTMP} ${BFLAGS}
|
||||||
XCXXFLAGS+= --sysroot=${WORLDTMP} ${BFLAGS}
|
XCXXFLAGS+= --sysroot=${WORLDTMP} ${BFLAGS}
|
||||||
.endif
|
.endif
|
||||||
|
.else
|
||||||
|
.if defined(CROSS_BINUTILS_PREFIX) && exists(${CROSS_BINUTILS_PREFIX})
|
||||||
|
BFLAGS+= -B${CROSS_BINUTILS_PREFIX}
|
||||||
|
XCFLAGS+= ${BFLAGS}
|
||||||
|
XCXXFLAGS+= ${BFLAGS}
|
||||||
.endif
|
.endif
|
||||||
|
.endif # ${XCC:M/*}
|
||||||
|
|
||||||
WMAKE= ${WMAKEENV} ${MAKE} ${WORLD_FLAGS} -f Makefile.inc1 DESTDIR=${WORLDTMP}
|
WMAKE= ${WMAKEENV} ${MAKE} ${WORLD_FLAGS} -f Makefile.inc1 DESTDIR=${WORLDTMP}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user