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.

Missed in r306297

MFC after:	1 month
Sponsored by:	Bracket Computing
Differential Revision:	https://reviews.freebsd.org/D7906
This commit is contained in:
Marcel Moolenaar 2016-09-24 17:50:11 +00:00
parent ac3425511d
commit 84b809fd65
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=306300

View File

@ -22,4 +22,4 @@ CFLAGS+= -I${OFEDSYS}/include
# Remove .[ly] since the checked-in version is preferred.
.SUFFIXES:
.SUFFIXES: .o .po .So .c .ln
.SUFFIXES: .o .po .pico .c .ln