From bcba42d1f877c494d64f4fabb99cf50ccc16e321 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Tue, 10 Sep 2019 07:26:38 +0000 Subject: [PATCH] Stop linking to libl by specifying we do not need yywrap MFC after: 3 days --- usr.sbin/kbdcontrol/Makefile | 2 -- usr.sbin/kbdcontrol/lex.l | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/usr.sbin/kbdcontrol/Makefile b/usr.sbin/kbdcontrol/Makefile index 42fa3e85a70a..5a15ef3c9da6 100644 --- a/usr.sbin/kbdcontrol/Makefile +++ b/usr.sbin/kbdcontrol/Makefile @@ -8,6 +8,4 @@ SRCS= kbdcontrol.c lex.l WARNS?= 4 CFLAGS+= -I${.CURDIR} -LIBADD= l - .include diff --git a/usr.sbin/kbdcontrol/lex.l b/usr.sbin/kbdcontrol/lex.l index 9a1ea41f73e9..0568758d3708 100644 --- a/usr.sbin/kbdcontrol/lex.l +++ b/usr.sbin/kbdcontrol/lex.l @@ -36,6 +36,7 @@ %} +%option noyywrap %option nounput %option noinput