summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-04-01 06:46:59 +0000
committerbapt <bapt@FreeBSD.org>2014-04-01 06:46:59 +0000
commit8e24f1665da56efce22b5a084f2c98023c18c460 (patch)
treee384a6ded288467264e9f370825f5edc9b72aa0e /Makefile.inc1
parentd2eeb1008608b604aee8bf9c5ba6747cb166d52c (diff)
downloadFreeBSD-src-8e24f1665da56efce22b5a084f2c98023c18c460.zip
FreeBSD-src-8e24f1665da56efce22b5a084f2c98023c18c460.tar.gz
Ensure make xdev respect which compiler is CC
and which compilers should be built according to standard build options
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc113
1 files changed, 7 insertions, 6 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 7e39ee8..01077d5 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1919,11 +1919,11 @@ _xb-build-tools:
_xb-cross-tools:
.for _tool in \
- gnu/usr.bin/binutils \
- gnu/usr.bin/cc \
+ ${_binutils} \
usr.bin/ar \
${_clang_libs} \
- ${_clang}
+ ${_clang} \
+ ${_cc}
${_+_}@${ECHODIR} "===> xdev ${_tool} (obj,depend,all)"; \
cd ${.CURDIR}/${_tool} && \
${CDMAKE} DIRPRFX=${_tool}/ obj && \
@@ -1947,10 +1947,11 @@ xdev-install: xdev-build _xi-mtree _xi-cross-tools _xi-includes _xi-libraries _x
_xi-cross-tools:
@echo "_xi-cross-tools"
.for _tool in \
- gnu/usr.bin/binutils \
- gnu/usr.bin/cc \
+ ${_binutils} \
usr.bin/ar \
- ${_clang}
+ ${_clang_libs} \
+ ${_clang} \
+ ${_cc}
${_+_}@${ECHODIR} "===> xdev ${_tool} (install)"; \
cd ${.CURDIR}/${_tool}; \
${CDMAKE} DIRPRFX=${_tool}/ install DESTDIR=${XDDESTDIR}
OpenPOWER on IntegriCloud