Run flex with --nounistd
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/8fe98a6c Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/8fe98a6c Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/8fe98a6c Branch: refs/heads/msvc6 Commit: 8fe98a6caf994122be309f519a284249cd3a20dd Parents: acd77fe Author: Nick Wellnhofer <[email protected]> Authored: Sun Nov 4 00:36:51 2012 +0100 Committer: Nick Wellnhofer <[email protected]> Committed: Sun Nov 4 00:36:51 2012 +0100 ---------------------------------------------------------------------- .../compiler/perl/buildlib/Clownfish/CFC/Build.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy/blob/8fe98a6c/clownfish/compiler/perl/buildlib/Clownfish/CFC/Build.pm ---------------------------------------------------------------------- diff --git a/clownfish/compiler/perl/buildlib/Clownfish/CFC/Build.pm b/clownfish/compiler/perl/buildlib/Clownfish/CFC/Build.pm index fd88505..0bde871 100644 --- a/clownfish/compiler/perl/buildlib/Clownfish/CFC/Build.pm +++ b/clownfish/compiler/perl/buildlib/Clownfish/CFC/Build.pm @@ -175,7 +175,7 @@ sub ACTION_lexers { next if $self->up_to_date( [ $l_file, @$y_files ], [ $c_file, $h_file ] ); - system( 'flex', '-o', $c_file, "--header-file=$h_file", $l_file ) + system( 'flex', '--nounistd', '-o', $c_file, "--header-file=$h_file", $l_file ) and die "flex failed"; } }
