diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-04-01 06:46:59 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-04-01 06:46:59 +0000 |
commit | ae85a4898b06bab16c4a0502a8a6f16af3178f22 (patch) | |
tree | e384a6ded288467264e9f370825f5edc9b72aa0e /Makefile.inc1 | |
parent | 66e227bf1efbc88642b308ccbb69a080b3d4437f (diff) | |
download | src-test2-ae85a4898b06bab16c4a0502a8a6f16af3178f22.tar.gz src-test2-ae85a4898b06bab16c4a0502a8a6f16af3178f22.zip |
Ensure make xdev respect which compiler is CC
and which compilers should be built according to standard build options
Notes
Notes:
svn path=/head/; revision=263983
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 7e39ee85a323..01077d5dcee8 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} |