DragonFly commits List (threaded) for 2009-08
DragonFly BSD
DragonFly commits List (threaded) for 2009-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Simon Schubert <corecode@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 2 Aug 2009 16:46:03 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]