svn commit: r352123 - head/usr.sbin/kbdcontrol

Baptiste Daroussin bapt at FreeBSD.org
Tue Sep 10 07:26:39 UTC 2019


Author: bapt
Date: Tue Sep 10 07:26:38 2019
New Revision: 352123
URL: https://svnweb.freebsd.org/changeset/base/352123

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

Modified:
  head/usr.sbin/kbdcontrol/Makefile
  head/usr.sbin/kbdcontrol/lex.l

Modified: head/usr.sbin/kbdcontrol/Makefile
==============================================================================
--- head/usr.sbin/kbdcontrol/Makefile	Tue Sep 10 07:25:37 2019	(r352122)
+++ head/usr.sbin/kbdcontrol/Makefile	Tue Sep 10 07:26:38 2019	(r352123)
@@ -8,6 +8,4 @@ SRCS=	kbdcontrol.c lex.l
 WARNS?=	4
 CFLAGS+= -I${.CURDIR}
 
-LIBADD=	l
-
 .include <bsd.prog.mk>

Modified: head/usr.sbin/kbdcontrol/lex.l
==============================================================================
--- head/usr.sbin/kbdcontrol/lex.l	Tue Sep 10 07:25:37 2019	(r352122)
+++ head/usr.sbin/kbdcontrol/lex.l	Tue Sep 10 07:26:38 2019	(r352123)
@@ -36,6 +36,7 @@
 
 %}
 
+%option noyywrap
 %option nounput
 %option noinput
 


More information about the svn-src-all mailing list