mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 19:20:08 +01:00
android: fix bison warning of conflicting outputs to file
Bison -o parameter expects a .c file. The corresponding .h filename is obtained by removing the extension of the initial .c. This was breaking compilation on Ubuntu 12.04 libmesa_dricore_intermediates/libmesa_dricore.a(program_parse.tab.o): In function `_mesa_parse_arb_program': external/mesa/src/mesa/program/program_parse.y:2682: multiple definition of `_mesa_parse_arb_program' libmesa_dricore_intermediates/libmesa_dricore.a(lex.yy.o):external/mesa/src/mesa/program/program_parse.y:2682: first defined here Signed-off-by: Adrian Marius Negreanu <adrian.m.negreanu@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-and-tested-by: Chad Versace <chad.versace@linux.intel.com>
This commit is contained in:
parent
a4311054c7
commit
409730843f
1 changed files with 0 additions and 3 deletions
|
|
@ -65,9 +65,6 @@ LOCAL_GENERATED_SOURCES := \
|
|||
$(intermediates)/program/program_parse.tab.c: $(LOCAL_PATH)/program_parse.y
|
||||
$(mesa_local-y-to-c-and-h)
|
||||
|
||||
$(intermediates)/program/program_parse.tab.h: $(LOCAL_PATH)/program_parse.y
|
||||
$(mesa_local-y-to-c-and-h)
|
||||
|
||||
$(intermediates)/program/lex.yy.c: $(LOCAL_PATH)/program_lexer.l
|
||||
$(local-l-to-c)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue