summaryrefslogtreecommitdiffstats
path: root/sbin/ldconfig/Makefile
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2005-01-14 12:22:57 +0000
committerdelphij <delphij@FreeBSD.org>2005-01-14 12:22:57 +0000
commit830453071ae42ff63af88f29575408103ff3facb (patch)
tree434dbe83b1b4c5346fd59d5f3a689f92fe765729 /sbin/ldconfig/Makefile
parent7e1fa1922ff8dfa6ae8ea8c8ece55c047462db99 (diff)
downloadFreeBSD-src-830453071ae42ff63af88f29575408103ff3facb.zip
FreeBSD-src-830453071ae42ff63af88f29575408103ff3facb.tar.gz
64-bit clean + WARNS=6:
- Convert the (char *) cast+cast backs magic to memcpy(3). Without this, the resulting code is potentially risky with higher optimization levels. - Avoid same name when calling local variables, as well as global symbols. This reduces confusion for both human and compiler. - Add necessary casts, consts - Use new style function defination. - Minor style.Makefile(5) tweak - Bump WARNS?= from 0 to 6 ** for the aout code: changes are intentionally limited to ease maintaince.
Diffstat (limited to 'sbin/ldconfig/Makefile')
-rw-r--r--sbin/ldconfig/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ldconfig/Makefile b/sbin/ldconfig/Makefile
index f2a2e51..442ae63 100644
--- a/sbin/ldconfig/Makefile
+++ b/sbin/ldconfig/Makefile
@@ -3,8 +3,8 @@
PROG= ldconfig
SRCS= elfhints.c ldconfig.c shlib.c support.c
LDDIR?= ${.CURDIR}/../../libexec/rtld-aout
+WARNS?= 6
CFLAGS+=-I${LDDIR} -DFREEBSD_AOUT
-WARNS?= 0
MAN= ldconfig.8
.PATH: ${LDDIR}
OpenPOWER on IntegriCloud