]> xenbits.xensource.com Git - freebsd.git/commitdiff
by specifyng we do not use yywrap we can avoid linking to libl and liby
authorbapt <bapt@FreeBSD.org>
Tue, 10 Sep 2019 07:20:32 +0000 (07:20 +0000)
committerbapt <bapt@FreeBSD.org>
Tue, 10 Sep 2019 07:20:32 +0000 (07:20 +0000)
MFC after: 3 days

usr.sbin/rrenumd/Makefile
usr.sbin/rrenumd/lexer.l

index 8c82fc31aa4aebc40d2818e1ad224df7ac03db20..ba6c4ad8f5cdd336bdc7e21c5516f8c91379486d 100644 (file)
@@ -23,7 +23,7 @@ YFLAGS=       -d
 
 WARNS?=        2
 
-LIBADD=        ipsec l y
+LIBADD=        ipsec
 
 CLEANFILES=    y.tab.h
 SRCS+= y.tab.h
index 31ca4b2a86b64cc2903abd357ffca8d1000bae15..315d75a2fb1366b1c04085926b89ede3dc120557 100644 (file)
@@ -60,6 +60,7 @@ void yyerror(const char *);
 int yylex(void);
 %}
 
+%option noyywrap
 %option nounput
 
 /* common section */