DragonFly-2.3.2.167.ga1478 master usr.bin/objformat objformat.c
Simon Schubert
corecode at crater.dragonflybsd.org
Sun Aug 2 16:48:07 PDT 2009
commit a1478cac726f83c5457bffb44189be35aacbc442
Author: Simon Schubert <corecode at 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
More information about the Commits
mailing list