aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2019-09-10 07:28:27 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2019-09-10 07:28:27 +0000
commit58aad230b571dd3195f58e362136037284380b3c (patch)
treeed300f96fe9b47a21872ef37bca8a995087a0c8c /usr.sbin
parentbcba42d1f877c494d64f4fabb99cf50ccc16e321 (diff)
downloadsrc-58aad230b571dd3195f58e362136037284380b3c.tar.gz
src-58aad230b571dd3195f58e362136037284380b3c.zip
Stop linking to libl by specifying we do not need yywrap
MFC after: 3 days
Notes
Notes: svn path=/head/; revision=352124
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ctld/Makefile2
-rw-r--r--usr.sbin/ctld/token.l1
-rw-r--r--usr.sbin/ndiscvt/Makefile2
-rw-r--r--usr.sbin/ndiscvt/inf-token.l1
4 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ctld/Makefile b/usr.sbin/ctld/Makefile
index 2d13099c7a9a..b038ebd524cc 100644
--- a/usr.sbin/ctld/Makefile
+++ b/usr.sbin/ctld/Makefile
@@ -15,7 +15,7 @@ CFLAGS+= -I${SRCTOP}/sys/dev/iscsi
#CFLAGS+= -DICL_KERNEL_PROXY
MAN= ctld.8 ctl.conf.5
-LIBADD= bsdxml l md sbuf util ucl m nv
+LIBADD= bsdxml md sbuf util ucl m nv
YFLAGS+= -v
CLEANFILES= y.tab.c y.tab.h y.output
diff --git a/usr.sbin/ctld/token.l b/usr.sbin/ctld/token.l
index 8691c7c87609..d4991452fcae 100644
--- a/usr.sbin/ctld/token.l
+++ b/usr.sbin/ctld/token.l
@@ -45,6 +45,7 @@ extern int yylex(void);
%}
+%option noyywrap
%option noinput
%option nounput
diff --git a/usr.sbin/ndiscvt/Makefile b/usr.sbin/ndiscvt/Makefile
index 81e7f9314e69..a8be84fe7255 100644
--- a/usr.sbin/ndiscvt/Makefile
+++ b/usr.sbin/ndiscvt/Makefile
@@ -13,8 +13,6 @@ MAN+= ndisgen.8
WARNS?= 4
NO_WCAST_ALIGN=
-LIBADD= l
-
YFLAGS+=-v
CFLAGS+=-I. -I${.CURDIR} -I${SRCTOP}/sys
diff --git a/usr.sbin/ndiscvt/inf-token.l b/usr.sbin/ndiscvt/inf-token.l
index 56359263074e..2aac5b477067 100644
--- a/usr.sbin/ndiscvt/inf-token.l
+++ b/usr.sbin/ndiscvt/inf-token.l
@@ -59,6 +59,7 @@ update_lineno(const char *cp)
%}
+%option noyywrap
%option nounput
%option noinput