svn commit: r352130 - head/sbin/devd

Baptiste Daroussin bapt at FreeBSD.org
Tue Sep 10 08:19:47 UTC 2019


Author: bapt
Date: Tue Sep 10 08:19:46 2019
New Revision: 352130
URL: https://svnweb.freebsd.org/changeset/base/352130

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

Modified:
  head/sbin/devd/Makefile
  head/sbin/devd/token.l

Modified: head/sbin/devd/Makefile
==============================================================================
--- head/sbin/devd/Makefile	Tue Sep 10 07:56:57 2019	(r352129)
+++ head/sbin/devd/Makefile	Tue Sep 10 08:19:46 2019	(r352130)
@@ -34,7 +34,7 @@ MAN=	devd.8 devd.conf.5
 
 NO_SHARED?=YES
 
-LIBADD=	l util
+LIBADD=	util
 
 YFLAGS+=-v
 CFLAGS+=-I. -I${.CURDIR}

Modified: head/sbin/devd/token.l
==============================================================================
--- head/sbin/devd/token.l	Tue Sep 10 07:56:57 2019	(r352129)
+++ head/sbin/devd/token.l	Tue Sep 10 08:19:46 2019	(r352130)
@@ -50,6 +50,7 @@ update_lineno(const char *cp)
 
 %}
 
+%option noyywrap
 %option nounput
 %option noinput
 


More information about the svn-src-head mailing list