Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2019 08:19:47 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r352130 - head/sbin/devd
Message-ID:  <201909100819.x8A8JlH4015708@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909100819.x8A8JlH4015708>