summaryrefslogtreecommitdiffstats
path: root/lib/libprocstat
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2016-12-11 03:57:21 +0000
committermarcel <marcel@FreeBSD.org>2016-12-11 03:57:21 +0000
commita3f7633492116879dd46a5b65ae7599c56f7eea7 (patch)
tree7289c57e7c4a5e5ec54c68bb5d3ff59ed890a5fb /lib/libprocstat
parentbee43bafd9d8bfa560c60b8eeeffc40b279b1f2d (diff)
downloadFreeBSD-src-a3f7633492116879dd46a5b65ae7599c56f7eea7.zip
FreeBSD-src-a3f7633492116879dd46a5b65ae7599c56f7eea7.tar.gz
MFC r305855, r306297, r306300, r306312-r306313
When MAKEOBJDIRPREFIX points to a case-insensitive file system, the build can break when different source files create the same object 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. Also: o Compile _Exit.c as C99_Exit.c, as it conflicts with _exit.s o Add entry to UPDATING o Document .pico extension
Diffstat (limited to 'lib/libprocstat')
-rw-r--r--lib/libprocstat/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libprocstat/Makefile b/lib/libprocstat/Makefile
index 240718d..1e6f436 100644
--- a/lib/libprocstat/Makefile
+++ b/lib/libprocstat/Makefile
@@ -58,13 +58,13 @@ MLINKS+=libprocstat.3 procstat_close.3 \
.if ${MK_CDDL} != "no"
CFLAGS+= -DLIBPROCSTAT_ZFS
OBJS+= zfs/zfs.o
-SOBJS+= zfs/zfs.So
+SOBJS+= zfs/zfs.pico
POBJS+= zfs/zfs.po
SUBDIR= zfs
zfs/zfs.o: .PHONY
@cd ${.CURDIR}/zfs && ${MAKE} zfs.o
-zfs/zfs.So: .PHONY
- @cd ${.CURDIR}/zfs && ${MAKE} zfs.So
+zfs/zfs.pico: .PHONY
+ @cd ${.CURDIR}/zfs && ${MAKE} zfs.pico
zfs/zfs.po: .PHONY
@cd ${.CURDIR}/zfs && ${MAKE} zfs.po
.endif
OpenPOWER on IntegriCloud