DragonFly-2.3.2.167.ga1478 master usr.bin/objformat objformat.c

看板DFBSD_commit作者時間16年前 (2009/08/03 08:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit a1478cac726f83c5457bffb44189be35aacbc442 Author: Simon Schubert <corecode@dragonflybsd.org> Date: Mon Jul 27 10:53:36 2009 +0200 objformat: don't hardcode compiler versions In the previous commit a fallback to the "custom" compiler driver was introduced for unknown compilers. The previous approach hard-coded known compiler versions, making it more complicated to add new compilers to base. This commit changes slightly the behavior for the "custom" compiler fallback: The compiler is searched for like before the "custom" change, and in addition, in case no compiler could be found, the search is retried for the "custom" compiler driver. This way we don't have to hard-code known compiler versions, while a truely non-existing CCVER will still be handled by the "custom" compiler driver. Summary of changes: usr.bin/objformat/objformat.c | 22 ++++++++++++++-------- 1 files changed, 14 insertions(+), 8 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a1478cac726f83c5457bffb44189be35aacbc442 -- DragonFly BSD source repository
文章代碼(AID): #1ATYZ6J9 (DFBSD_commit)