gcc41: remove /usr/lib from rpath
authorJohn Marino <draco@marino.st>
Sat, 24 Mar 2012 08:14:15 +0000 (09:14 +0100)
committerJohn Marino <draco@marino.st>
Sat, 24 Mar 2012 18:20:13 +0000 (19:20 +0100)
commit43add724990da155c21ef4a0893f4ebc2c36eb05
treead2bb8495ccf727e3c11714a620506a9e16d6b17
parent867579620da272fc2ad03f9cb3d3c25661fb60db
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.
gnu/usr.bin/cc41/cc_prep/config/dragonfly-spec.h
gnu/usr.bin/cc41/cc_prep/config/dragonfly.h