Skip to content
Snippets Groups Projects
Commit a05cb45c authored by Anton's avatar Anton
Browse files

Check have_libtcg around llvm-helpers target

parent e1a46077
No related branches found
No related tags found
No related merge requests found
......@@ -3860,15 +3860,17 @@ foreach target : target_dirs
# TODO(anjo): We should only feed the bare minimum of
# files through this!
custom_target('to-ll-' + target_name,
output: 'libtcg-helpers-' + target_name + '.bc',
input: arch_srcs,
depend_files: to_ll,
command: [to_ll, meson.current_source_dir(), target_name, 'target'/target_base_arch, clang, llvm_link, opt, '@OUTPUT@', '@INPUT@'],
install: true,
install_dir: 'lib',
build_by_default: true,
)
if have_libtcg
custom_target('to-ll-' + target_name,
output: 'libtcg-helpers-' + target_name + '.bc',
input: arch_srcs,
depend_files: to_ll,
command: [to_ll, meson.current_source_dir(), target_name, 'target'/target_base_arch, clang, llvm_link, opt, '@OUTPUT@', '@INPUT@'],
install: true,
install_dir: 'lib',
build_by_default: true,
)
endif
if target.endswith('-softmmu')
execs = [{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment