diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2021-09-16 18:35:34 +0200 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2021-09-16 18:35:34 +0200 |
commit | acd7e7b33fd576b336ca0bf5ec51f77b32ba51cc (patch) | |
tree | 822b4494834ab46dc504034309507c725e057910 /libjava | |
parent | 371848a7ed301ee4d6e33842ba41e79412c5d0b0 (diff) | |
download | gcc-acd7e7b33fd576b336ca0bf5ec51f77b32ba51cc.zip gcc-acd7e7b33fd576b336ca0bf5ec51f77b32ba51cc.tar.gz gcc-acd7e7b33fd576b336ca0bf5ec51f77b32ba51cc.tar.bz2 |
PowerPC: Fix rs6000-gen-builtins with build != host [PR102353]
This mimics what the main Makefile.in does: compile the generator
files under build (with Makefile.in's 'build/%.o' rule for compilation).
It also adds $(RUN_GEN) to optionally run it with valgrind and
the $(build_exeext) suffix.
Before, the .o files were compiled with $(COMPILE), causing link
error with $(LINKER_FOR_BUILD) for build != host.
gcc/
PR target/102353
* config/rs6000/t-rs6000 (build/rs6000-gen-builtins.o, build/rbtree.o):
Added 'build/' to target, use build/%.o rule.
(build/rs6000-gen-builtins$(build_exeext)): Add 'build/' and
'$(build_exeext)' to target and 'build/' for the *.o files.
(rs6000-builtins.c): Update for those changes; run rs6000-gen-builtins
with $(RUN_GEN).
Diffstat (limited to 'libjava')
0 files changed, 0 insertions, 0 deletions