Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2019 07:20:32 +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: r352120 - head/usr.sbin/rrenumd
Message-ID:  <201909100720.x8A7KWqq079710@repo.freebsd.org>

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

Log:
  by specifyng we do not use yywrap we can avoid linking to libl and liby
  
  MFC after:	3 days

Modified:
  head/usr.sbin/rrenumd/Makefile
  head/usr.sbin/rrenumd/lexer.l

Modified: head/usr.sbin/rrenumd/Makefile
==============================================================================
--- head/usr.sbin/rrenumd/Makefile	Tue Sep 10 07:14:39 2019	(r352119)
+++ head/usr.sbin/rrenumd/Makefile	Tue Sep 10 07:20:32 2019	(r352120)
@@ -23,7 +23,7 @@ YFLAGS=	-d
 
 WARNS?=	2
 
-LIBADD=	ipsec l y
+LIBADD=	ipsec
 
 CLEANFILES=	y.tab.h
 SRCS+=	y.tab.h

Modified: head/usr.sbin/rrenumd/lexer.l
==============================================================================
--- head/usr.sbin/rrenumd/lexer.l	Tue Sep 10 07:14:39 2019	(r352119)
+++ head/usr.sbin/rrenumd/lexer.l	Tue Sep 10 07:20:32 2019	(r352120)
@@ -60,6 +60,7 @@ void yyerror(const char *);
 int yylex(void);
 %}
 
+%option noyywrap
 %option nounput
 
 /* common section */



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