Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2019 07:28:27 +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: r352124 - in head/usr.sbin: ctld ndiscvt
Message-ID:  <201909100728.x8A7SRPP085477@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Sep 10 07:28:27 2019
New Revision: 352124
URL: https://svnweb.freebsd.org/changeset/base/352124

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

Modified:
  head/usr.sbin/ctld/Makefile
  head/usr.sbin/ctld/token.l
  head/usr.sbin/ndiscvt/Makefile
  head/usr.sbin/ndiscvt/inf-token.l

Modified: head/usr.sbin/ctld/Makefile
==============================================================================
--- head/usr.sbin/ctld/Makefile	Tue Sep 10 07:26:38 2019	(r352123)
+++ head/usr.sbin/ctld/Makefile	Tue Sep 10 07:28:27 2019	(r352124)
@@ -15,7 +15,7 @@ CFLAGS+=	-I${SRCTOP}/sys/dev/iscsi
 #CFLAGS+=	-DICL_KERNEL_PROXY
 MAN=		ctld.8 ctl.conf.5
 
-LIBADD=		bsdxml l md sbuf util ucl m nv
+LIBADD=		bsdxml md sbuf util ucl m nv
 
 YFLAGS+=	-v
 CLEANFILES=	y.tab.c y.tab.h y.output

Modified: head/usr.sbin/ctld/token.l
==============================================================================
--- head/usr.sbin/ctld/token.l	Tue Sep 10 07:26:38 2019	(r352123)
+++ head/usr.sbin/ctld/token.l	Tue Sep 10 07:28:27 2019	(r352124)
@@ -45,6 +45,7 @@ extern int	yylex(void);
 
 %}
 
+%option noyywrap
 %option noinput
 %option nounput
 

Modified: head/usr.sbin/ndiscvt/Makefile
==============================================================================
--- head/usr.sbin/ndiscvt/Makefile	Tue Sep 10 07:26:38 2019	(r352123)
+++ head/usr.sbin/ndiscvt/Makefile	Tue Sep 10 07:28:27 2019	(r352124)
@@ -13,8 +13,6 @@ MAN+=	ndisgen.8
 WARNS?=	4
 NO_WCAST_ALIGN=
 
-LIBADD=	l
-
 YFLAGS+=-v
 
 CFLAGS+=-I. -I${.CURDIR} -I${SRCTOP}/sys

Modified: head/usr.sbin/ndiscvt/inf-token.l
==============================================================================
--- head/usr.sbin/ndiscvt/inf-token.l	Tue Sep 10 07:26:38 2019	(r352123)
+++ head/usr.sbin/ndiscvt/inf-token.l	Tue Sep 10 07:28:27 2019	(r352124)
@@ -59,6 +59,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?201909100728.x8A7SRPP085477>