git: gcc41: remove /usr/lib from rpath
John Marino
marino at crater.dragonflybsd.org
Sat Mar 24 11:22:31 PDT 2012
commit 43add724990da155c21ef4a0893f4ebc2c36eb05
Author: John Marino <draco at 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
More information about the Commits
mailing list