git: DragonFly_RELEASE_6_0 gcc: Fix the passing of LIBRARY_PATH to the linker.

Sascha Wildner swildner at crater.dragonflybsd.org
Thu May 27 07:44:50 PDT 2021


commit 4684c6907f05fdaf0b460526b2b4e9cf305f9917
Author: Sascha Wildner <saw at online.de>
Date:   Tue May 25 21:53:23 2021 +0200

    gcc: Fix the passing of LIBRARY_PATH to the linker.
    
    Don't define LINK_LIBGCC_SPEC as empty so that it will be the default
    %D, which adds the necessary -L's for the directories in LIBRARY_PATH
    to the linker command line.
    
    It also adds a duplicate, but I think harmless, -L /usr/lib/gcc80
    which we add earlier already. This can be improved separately.
    
    Dragonfly-bug: <https://bugs.dragonflybsd.org/issues/2897>

Summary of changes:
 gnu/usr.bin/cc47/cc_prep/config/dragonfly-native.h | 1 -
 gnu/usr.bin/cc80/cc_prep/config/dragonfly-native.h | 1 -
 2 files changed, 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4684c6907f05fdaf0b460526b2b4e9cf305f9917


-- 
DragonFly BSD source repository



More information about the Commits mailing list