From 36ad097f9b938c69974304dd8e31d358bf63517f Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Tue, 10 Sep 2019 07:23:01 +0000 Subject: [PATCH] Stop linking to libl by specifying we do not need yywrap MFC after: 3 days --- usr.sbin/apmd/Makefile | 2 -- usr.sbin/apmd/apmdlex.l | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/usr.sbin/apmd/Makefile b/usr.sbin/apmd/Makefile index 4afd417eeb0d..5bc28dd59835 100644 --- a/usr.sbin/apmd/Makefile +++ b/usr.sbin/apmd/Makefile @@ -10,8 +10,6 @@ PACKAGE=apm WARNS?= 3 -LIBADD= l - CFLAGS+= -I${.CURDIR} test: diff --git a/usr.sbin/apmd/apmdlex.l b/usr.sbin/apmd/apmdlex.l index 05b929fedb22..67cb52d5c309 100644 --- a/usr.sbin/apmd/apmdlex.l +++ b/usr.sbin/apmd/apmdlex.l @@ -44,6 +44,7 @@ int first_time; %} /* We don't need it, avoid the warning. */ +%option noyywrap %option nounput %option noinput