From f4ac417e9b525f6c2747e3c2369428b58b29c25f Mon Sep 17 00:00:00 2001 From: bapt 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 42fa3e85a70..5a15ef3c9da 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 9a1ea41f73e..0568758d370 100644 --- a/usr.sbin/kbdcontrol/lex.l +++ b/usr.sbin/kbdcontrol/lex.l @@ -36,6 +36,7 @@ %} +%option noyywrap %option nounput %option noinput -- 2.45.0