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!
This commit is contained in:
John Birrell 1998-05-11 09:15:03 +00:00
parent 9a6a1cbee4
commit ae43c7299f

View File

@ -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}