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

git: binutils/ld: Don't add /usr/lib to the library search path twice.


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 30 Jan 2012 03:21:33 -0800 (PST)

commit 40d62177cbce2b54dc1520b7d51d73db076b91c2
Author: Sascha Wildner <saw@online.de>
Date:   Mon Jan 30 12:19:49 2012 +0100

    binutils/ld: Don't add /usr/lib to the library search path twice.
    
    The various toolchains we build during buildworld need different
    search paths for various stages. The ${USRDATA_PREFIX} variable,
    which has different values depending on the stage, is used as a
    prefix so that the compilers we use to build our world can search
    their includes and libraries in /usr/obj. For the compiler that
    ultimately gets installed upon installworld, the prefix is empty.
    
    In ld's Makefile, the correct path prefixed with ${USRDATA_PREFIX}
    is already added to the default path a few lines above, so all is
    good. This commit removes the extra /usr/lib that was unconditionally
    added after the prefixed one (which is wrong).

Summary of changes:
 gnu/usr.bin/binutils221/ld/Makefile.i386   |    2 +-
 gnu/usr.bin/binutils221/ld/Makefile.x86_64 |    2 +-
 gnu/usr.bin/binutils222/ld/Makefile.i386   |    2 +-
 gnu/usr.bin/binutils222/ld/Makefile.x86_64 |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/40d62177cbce2b54dc1520b7d51d73db076b91c2


-- 
DragonFly BSD source repository



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