Author: bapt
Date: Tue Sep 10 07:23:01 2019
New Revision: 352121
URL: https://svnweb.freebsd.org/changeset/base/352121

Log:
  Stop linking to libl by specifying we do not need yywrap
  
  MFC after:    3 days

Modified:
  head/usr.sbin/apmd/Makefile
  head/usr.sbin/apmd/apmdlex.l

Modified: head/usr.sbin/apmd/Makefile
==============================================================================
--- head/usr.sbin/apmd/Makefile Tue Sep 10 07:20:32 2019        (r352120)
+++ head/usr.sbin/apmd/Makefile Tue Sep 10 07:23:01 2019        (r352121)
@@ -10,8 +10,6 @@ PACKAGE=apm
 
 WARNS?=        3
 
-LIBADD=        l
-
 CFLAGS+= -I${.CURDIR}
 
 test:

Modified: head/usr.sbin/apmd/apmdlex.l
==============================================================================
--- head/usr.sbin/apmd/apmdlex.l        Tue Sep 10 07:20:32 2019        
(r352120)
+++ head/usr.sbin/apmd/apmdlex.l        Tue Sep 10 07:23:01 2019        
(r352121)
@@ -44,6 +44,7 @@ int first_time;
 %}
 
 /* We don't need it, avoid the warning. */
+%option noyywrap
 %option nounput
 %option noinput
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to