diff options
author | marcel <marcel@FreeBSD.org> | 2016-12-11 03:57:21 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2016-12-11 03:57:21 +0000 |
commit | a3f7633492116879dd46a5b65ae7599c56f7eea7 (patch) | |
tree | 7289c57e7c4a5e5ec54c68bb5d3ff59ed890a5fb /usr.sbin/bsnmpd | |
parent | bee43bafd9d8bfa560c60b8eeeffc40b279b1f2d (diff) | |
download | FreeBSD-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 'usr.sbin/bsnmpd')
-rw-r--r-- | usr.sbin/bsnmpd/modules/snmp_hostres/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile b/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile index 57f3eab..80349ca 100644 --- a/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile +++ b/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile @@ -73,7 +73,7 @@ LIBADD= kvm devinfo m geom memstat .include <bsd.snmpmod.mk> -printcap.So: printcap.c +printcap.pico: printcap.c ${CC} ${PICFLAG} -DPIC ${CFLAGS:C/^-W.*//} -c ${.IMPSRC} -o ${.TARGET} smilint: |