]> xenbits.xensource.com Git - freebsd.git/commitdiff
Stop linking to libl by specifying we do not need yywrap
authorbapt <bapt@FreeBSD.org>
Tue, 10 Sep 2019 07:23:01 +0000 (07:23 +0000)
committerbapt <bapt@FreeBSD.org>
Tue, 10 Sep 2019 07:23:01 +0000 (07:23 +0000)
MFC after: 3 days

usr.sbin/apmd/Makefile
usr.sbin/apmd/apmdlex.l

index 4afd417eeb0dbc1d3d689e40d4ece1d5323e8f03..5bc28dd5983571000aa04465292975740d8564de 100644 (file)
@@ -10,8 +10,6 @@ PACKAGE=apm
 
 WARNS?=        3
 
-LIBADD=        l
-
 CFLAGS+= -I${.CURDIR}
 
 test:
index 05b929fedb2268d03dc9621bd7018219c7660f57..67cb52d5c309e554fd51d96e233ce13dd1fcd034 100644 (file)
@@ -44,6 +44,7 @@ int first_time;
 %}
 
 /* We don't need it, avoid the warning. */
+%option noyywrap
 %option nounput
 %option noinput