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

Sascha Wildner swildner at crater.dragonflybsd.org
Tue May 25 12:54:05 PDT 2021


commit 9dc2b375dec264b435a79b203ab51f668acee62a
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/9dc2b375dec264b435a79b203ab51f668acee62a


-- 
DragonFly BSD source repository



More information about the Commits mailing list