mirror of
https://github.com/opnsense/src.git
synced 2026-02-12 23:36:07 -05:00
Although argc and argv are never read after the longjmp is complete, gcc is not clever enough to see that and needlessly warns about it. So add volatile to silence the compiler. Approved by: ed (the co-mentor, not ed(1))
18 lines
297 B
Makefile
18 lines
297 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= ed
|
|
SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
|
|
LINKS= ${BINDIR}/ed ${BINDIR}/red
|
|
MLINKS= ed.1 red.1
|
|
|
|
.if !defined(RELEASE_CRUNCH)
|
|
.if ${MK_OPENSSL} != "no"
|
|
CFLAGS+=-DDES
|
|
DPADD= ${LIBCRYPTO}
|
|
LDADD= -lcrypto
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|