aboutsummaryrefslogtreecommitdiff
path: root/stand/libsa/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'stand/libsa/Makefile')
-rw-r--r--stand/libsa/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/stand/libsa/Makefile b/stand/libsa/Makefile
index 4eccf0f9b132..8248c4a1ba74 100644
--- a/stand/libsa/Makefile
+++ b/stand/libsa/Makefile
@@ -95,6 +95,8 @@ SRCS+=${i}
.endfor
# decompression functionality from zlib
+# https://github.com/madler/zlib/issues/633 documents why we suppress deprecated
+# prototype warnings.
.PATH: ${SRCTOP}/sys/contrib/zlib
ZLIB_CFLAGS=-DHAVE_MEMCPY -I${SRCTOP}/sys/contrib/zlib ${NO_WDEPRECATED_NON_PROTOTYPE}
.for i in adler32.c crc32.c infback.c inffast.c inflate.c inftrees.c zutil.c