diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2017-07-08 16:39:55 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2017-07-08 16:39:55 +0000 |
commit | 9bb3819b328322d4c0eb46e09fd3fcd2816e2e11 (patch) | |
tree | 6aae9ce26d8a56e8d03598f1f7cafd5f9bf1493f | |
parent | aa24f48b361effe51163877d84f1b70d32b77e04 (diff) | |
download | src-test2-9bb3819b328322d4c0eb46e09fd3fcd2816e2e11.tar.gz src-test2-9bb3819b328322d4c0eb46e09fd3fcd2816e2e11.zip |
Notes
-rw-r--r-- | Makefile.inc1 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 03b8322cf57c..ac69125183c4 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -761,7 +761,15 @@ _worldtmp: .PHONY .endif .else rm -rf ${WORLDTMP}/legacy/usr/include -.endif +.if ${USING_SYSTEM_COMPILER} == "yes" +.for cc in cc c++ + if [ -x ${WORLDTMP}/usr/bin/${cc} ]; then \ + inum=$$(stat -f %i ${WORLDTMP}/usr/bin/${cc}); \ + find ${WORLDTMP}/usr/bin -inum $${inum} -delete; \ + fi +.endfor +.endif # ${USING_SYSTEM_COMPILER} == "yes" +.endif # !defined(NO_CLEAN) # Our current approach to dependency tracking cannot cope with certain source # tree changes, particularly with respect to removing source files and |