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

git: gcc41: remove /usr/lib from rpath


From: John Marino <marino@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 24 Mar 2012 11:22:31 -0700 (PDT)

commit 43add724990da155c21ef4a0893f4ebc2c36eb05
Author: John Marino <draco@marino.st>
Date:   Sat Mar 24 09:14:15 2012 +0100

    gcc41: remove /usr/lib from rpath
    
    The gcc41 specs were unconditionally adding /usr/lib to the rpath, making
    it impossible to use the -z nodefaultlibs linker flag.  RTLD will look in
    /usr/lib by default as the last priority of the library search path as
    long as the object wasn't built with -z nodefaultlibs.
    
    Also the __DragonFly__ macro was bumped from 1 to 3.  It's supposed to
    reflect the major version of DragonFly.

Summary of changes:
 gnu/usr.bin/cc41/cc_prep/config/dragonfly-spec.h |   26 ++++++++-------------
 gnu/usr.bin/cc41/cc_prep/config/dragonfly.h      |    2 +-
 2 files changed, 11 insertions(+), 17 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/43add724990da155c21ef4a0893f4ebc2c36eb05


-- 
DragonFly BSD source repository



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