kerberos5: Silence compiler warnings
Building the kerberos5 subdirectory currently produces lots of warnings. Since there are many instances of these warnings and it's contrib code, this change silences the warnings instead of fixing them. Reviewed By: jhb, cy, bjk Differential Revision: https://reviews.freebsd.org/D28025
This commit is contained in:
parent
8a2f9dff2b
commit
4f009328a2
@ -9,8 +9,7 @@ KRB5DIR= ${SRCTOP}/crypto/heimdal
|
|||||||
CFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR:H:H}/include
|
CFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR:H:H}/include
|
||||||
|
|
||||||
WARNS?= 1
|
WARNS?= 1
|
||||||
CWARNFLAGS.clang+= -Wno-error=absolute-value
|
CWARNFLAGS.clang+= -Wno-absolute-value
|
||||||
CWARNFLAGS+= -Wno-error=deprecated-declarations
|
|
||||||
|
|
||||||
.if ${MK_OPENLDAP} != "no" && !defined(COMPAT_32BIT)
|
.if ${MK_OPENLDAP} != "no" && !defined(COMPAT_32BIT)
|
||||||
OPENLDAPBASE?= /usr/local
|
OPENLDAPBASE?= /usr/local
|
||||||
|
@ -19,6 +19,8 @@ SRCS= acl.c \
|
|||||||
|
|
||||||
CFLAGS+=-I${KRB5DIR}/lib/krb5 -I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/roken \
|
CFLAGS+=-I${KRB5DIR}/lib/krb5 -I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/roken \
|
||||||
-I${KRB5DIR}/kcm -I${KRB5DIR}/lib/ipc ${LDAPCFLAGS}
|
-I${KRB5DIR}/kcm -I${KRB5DIR}/lib/ipc ${LDAPCFLAGS}
|
||||||
|
# Avoid errors for using deprecated krb5_* APIs
|
||||||
|
CFLAGS+="-DKRB5_DEPRECATED_FUNCTION(X)="
|
||||||
LIBADD= krb5 roken heimntlm heimipcs crypto
|
LIBADD= krb5 roken heimntlm heimipcs crypto
|
||||||
DPADD= ${LDAPDPADD}
|
DPADD= ${LDAPDPADD}
|
||||||
LDADD= ${LIBVERS} ${LDAPLDADD}
|
LDADD= ${LIBVERS} ${LDAPLDADD}
|
||||||
|
Loading…
Reference in New Issue
Block a user