summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-05-11 09:15:03 +0000
committerjb <jb@FreeBSD.org>1998-05-11 09:15:03 +0000
commitd2db96ea0c29749ec33a982022bc46de6ebf0c62 (patch)
tree2db7e56ca30343d68735dc5596e215ddaf054c41 /lib
parent7cc9edd4639c285fa5c945ccd281d0f79c7c9601 (diff)
downloadFreeBSD-src-d2db96ea0c29749ec33a982022bc46de6ebf0c62.zip
FreeBSD-src-d2db96ea0c29749ec33a982022bc46de6ebf0c62.tar.gz
Make -Werror i386 specific because gcc with -nostdinc on alpha belches
warnings about static inline functions that cause the build to fail. And for some reason, alpha needs MD5. Find that out later!
Diffstat (limited to 'lib')
-rw-r--r--lib/libskey/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libskey/Makefile b/lib/libskey/Makefile
index e8b03ca..424f4d1 100644
--- a/lib/libskey/Makefile
+++ b/lib/libskey/Makefile
@@ -10,7 +10,12 @@ MLINKS= skey.3 skeylookup.3 skey.3 skeyverify.3 skey.3 skeychallenge.3 \
MAN5= skey.access.5
CFLAGS+=-DPERMIT_CONSOLE -D_SKEY_INTERNAL -I${.CURDIR}
-CFLAGS+=-W -Wall -Werror
+CFLAGS+=-W -Wall
+.if ${MACHINE_ARCH} == "i386"
+CFLAGS+=-Werror
+.else
+CFLAGS+=-DMD5
+.endif
.if ${BINFORMAT} == elf
DPADD+= ${LIBCRYPT} ${LIBMD}
OpenPOWER on IntegriCloud