Stop installing profiling libraries as /usr/lib/lib${LIB}_p.a, because
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Sat, 30 Jul 2005 13:59:45 +0000 (13:59 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Sat, 30 Jul 2005 13:59:45 +0000 (13:59 +0000)
commitc4c23d9061b6eb2a3456620a48b84583b00fe0ce
tree67acc63881674857d7508538ef31f17b02adb2be
parent67c4d69c13a650d3121a20c7d8812b78264eeb65
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