Stop installing profiling libraries as /usr/lib/lib${LIB}_p.a, because
commita51f4648404a1929ca337e540a4db9ec635cc16f
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Sat, 30 Jul 2005 13:59:45 +0000 (30 13:59 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Sat, 30 Jul 2005 13:59:45 +0000 (30 13:59 +0000)
treebbfbe32cbad9e6a2153d62f4e42334c6f7a3ae89
parent048ce83109ba274eff12aec405d5054190f06e47
Stop installing profiling libraries as /usr/lib/lib${LIB}_p.a, because
it makes it really hard to support shared profiling. Instead, install
them into /usr/lib/profile and tweak GCC to look there first, when -pg
is given. Also add support for /usr/lib/debug and -g respective. If both
-pg and -g are given, profile has the precedence.

Now that libc.a is always used for the static case, link all shared
objects against libc, too. This makes it easier to detect libc mixing
and can be used for stricter link-time checks in the future.
etc/mtree/BSD.usr.dist
gnu/lib/gcc34/Makefile.inc
gnu/lib/gcc40/Makefile.inc
gnu/usr.bin/cc34/cc_prep/config/dragonfly-spec.h
gnu/usr.bin/cc40/cc_prep/config/dragonfly-spec.h
lib/libncurses/libncurses/Makefile
share/mk/bsd.lib.mk
share/mk/bsd.own.mk
usr.bin/lex/lib/Makefile