Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2019 07:26:38 +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: r352123 - head/usr.sbin/kbdcontrol
Message-ID:  <201909100726.x8A7QcIZ085348@repo.freebsd.org>

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



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