svn commit: r359241 - head/sbin/setkey
Baptiste Daroussin
bapt at FreeBSD.org
Mon Mar 23 14:37:01 UTC 2020
Author: bapt
Date: Mon Mar 23 14:37:00 2020
New Revision: 359241
URL: https://svnweb.freebsd.org/changeset/base/359241
Log:
Remove the link to libl which only contains a stub function
on yywrap, if the flex is told yywrap is not in use, then this linkage becomes
unnecessary
Modified:
head/sbin/setkey/Makefile
head/sbin/setkey/token.l
Modified: head/sbin/setkey/Makefile
==============================================================================
--- head/sbin/setkey/Makefile Mon Mar 23 14:33:29 2020 (r359240)
+++ head/sbin/setkey/Makefile Mon Mar 23 14:37:00 2020 (r359241)
@@ -37,8 +37,6 @@ WARNS?= 1
CFLAGS+= -I${.CURDIR} -I${SRCTOP}/lib/libipsec
YFLAGS= -d
-LIBADD= l
-
CLEANFILES= y.tab.c y.tab.h key_test.o keytest
# libpfkey
Modified: head/sbin/setkey/token.l
==============================================================================
--- head/sbin/setkey/token.l Mon Mar 23 14:33:29 2020 (r359240)
+++ head/sbin/setkey/token.l Mon Mar 23 14:37:00 2020 (r359241)
@@ -67,6 +67,8 @@ int parse(FILE **);
int yyparse(void);
%}
+%option noyywrap
+
/* common section */
nl \n
ws [ \t]+
More information about the svn-src-head
mailing list