When MAKEOBJDIRPREFIX points to a case-insensitive file system, the
authormarcel <marcel@FreeBSD.org>
Sat, 24 Sep 2016 15:11:27 +0000 (15:11 +0000)
committermarcel <marcel@FreeBSD.org>
Sat, 24 Sep 2016 15:11:27 +0000 (15:11 +0000)
commit17592f2cf9fd3b339ebef08d88e02e2c7db14cd9
treeb3fe596dc928c6aef978758bef4e4a40e5e4ad03
parentcafe522b3925c018a57949661422a904942bc017
When MAKEOBJDIRPREFIX points to a case-insensitive file system, the
build can break when different source files create the same target
files (case-insensitivity speaking).  This is the case for object
files compiled with -fpic and shared libraries. The former uses
an extension of ".So", and the latter an extension ".so".  Rename
shared object files from *.So to *.pico to match what NetBSD does.

See also r305855

MFC after: 1 month
Sponsored by: Bracket Computing
Differential Revision: https://reviews.freebsd.org/D7906
gnu/lib/libgcc/Makefile
gnu/lib/libgcov/Makefile
lib/libedit/Makefile
lib/libprocstat/Makefile
lib/libthr/support/Makefile.inc
share/mk/bsd.dep.mk
share/mk/bsd.lib.mk
share/mk/meta.autodep.mk
sys/conf/kern.post.mk
sys/conf/kern.pre.mk
usr.sbin/bsnmpd/modules/snmp_hostres/Makefile