Commit 6eff423a authored by Alexandre Julliard's avatar Alexandre Julliard

makefiles: Use --defines instead of --header for compatibility with older bison.

Spotted by Rémi Bernon.
parent ddf3b418
......@@ -2685,7 +2685,7 @@ static void output_source_y( struct makefile *make, struct incl_file *source, co
if (find_include_file( make, header ))
{
output( "%s: %s\n", obj_dir_path( make, header ), source->filename );
output( "\t%s%s -o %s.tab.$$$$.c --header=$@ %s && rm -f %s.tab.$$$$.c\n",
output( "\t%s%s -o %s.tab.$$$$.c --defines=$@ %s && rm -f %s.tab.$$$$.c\n",
cmd_prefix( "BISON" ), bison, obj_dir_path( make, obj ),
source->filename, obj_dir_path( make, obj ));
strarray_add( &make->clean_files, header );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment