Import from OpenBSD a patch which eliminates the link with -ly or -ly

patch by ibara@

Obtained from:	OpenBSD
This commit is contained in:
Baptiste Daroussin 2019-09-09 15:20:19 +00:00
parent c560b67c5c
commit d031bd192e
2 changed files with 3 additions and 1 deletions

View File

@ -8,7 +8,7 @@
PROG= m4
CFLAGS+=-DEXTENDED -I${.CURDIR} -I${SRCTOP}/lib/libopenbsd
LIBADD= y l m openbsd
LIBADD= m openbsd
NO_WMISSING_VARIABLE_DECLARATIONS=

View File

@ -43,6 +43,8 @@ oct 0[0-7]*
dec [1-9][0-9]*
radix 0[rR][0-9]+:[0-9a-zA-Z]+
%option noyywrap
%%
{ws} {/* just skip it */}
{hex}|{oct}|{dec} { yylval = number(); return(NUMBER); }