looks like we had a long-term confusion for LFLAGS as a set of linker flags and as a set of flex flags. Renamed LFLAGS to FLEXFLAGS for flex input.

This commit is contained in:
David Rose 2013-08-26 22:44:22 +00:00
parent fe784c04f6
commit a16238932a
5 changed files with 5 additions and 3 deletions

View File

@ -814,7 +814,7 @@ $[TAB] cp $[target_header_prebuilt] $[target_header]
#if $[HAVE_BISON]
#define source $[file]
$[target] : $[file]
$[TAB] $[FLEX] $[LFLAGS] $[if $[YACC_PREFIX],-P$[YACC_PREFIX]] -olex.yy.c $[file]
$[TAB] $[FLEX] $[FLEXFLAGS] $[if $[YACC_PREFIX],-P$[YACC_PREFIX]] -olex.yy.c $[file]
#define source lex.yy.c
#define script /#include <unistd.h>/d
$[TAB] $[SED]

View File

@ -815,7 +815,7 @@ $[TAB] copy /Y $[osfilename $[target_header_prebuilt]] $[osfilename $[target_hea
#if $[HAVE_BISON]
#define source $[file]
$[osfilename $[target]] : $[osfilename $[file]]
$[TAB] $[FLEX] $[LFLAGS] $[if $[YACC_PREFIX],-P$[YACC_PREFIX]] -olex.yy.c $[osfilename $[file]]
$[TAB] $[FLEX] $[FLEXFLAGS] $[if $[YACC_PREFIX],-P$[YACC_PREFIX]] -olex.yy.c $[osfilename $[file]]
#define source lex.yy.c
#define script /#include <unistd.h>/d
$[TAB] $[SED]

View File

@ -615,7 +615,7 @@ $[TAB] cp $[target_header_prebuilt] $[target_header]
#if $[HAVE_BISON]
#define source $[file]
$[target] : $[file]
$[TAB] $[FLEX] $[LFLAGS] $[if $[YACC_PREFIX],-P$[YACC_PREFIX]] -olex.yy.c $[file]
$[TAB] $[FLEX] $[FLEXFLAGS] $[if $[YACC_PREFIX],-P$[YACC_PREFIX]] -olex.yy.c $[file]
#define source lex.yy.c
#define script /#include <unistd.h>/d
$[TAB] $[SED]

View File

@ -3,6 +3,7 @@
#define OTHER_LIBS p3interrogatedb:c p3dconfig:c p3dtoolconfig:m \
p3dtoolutil:c p3dtoolbase:c p3dtool:m p3prc:c
#define YACC_PREFIX eggyy
#define FLEXFLAGS -i
#define USE_PACKAGES zlib
#begin lib_target

View File

@ -1,4 +1,5 @@
#define YACC_PREFIX xyy
#define FLEXFLAGS -i
#define USE_PACKAGES zlib