meson: don't compile files that are not used standalone

They caused a plethora of -Wunused-function warnings.
This commit is contained in:
Fangrui Song 2018-08-03 23:47:38 -07:00 committed by radare
parent c9ec8b54b9
commit ac04e2d965
3 changed files with 6 additions and 6 deletions

View File

@ -68,7 +68,7 @@ files = [
'p/anal_sysz.c',
'p/anal_tms320.c',
'p/anal_tms320_c55x_plus.c',
'p/anal_tms320c64x.c',
#'p/anal_tms320c64x.c',
'p/anal_v810.c',
'p/anal_v850.c',
'p/anal_vax.c',

View File

@ -79,7 +79,7 @@ files = [
'arch/arm/gnu/arm-dis.c',
'arch/arm/gnu/floatformat.c',
'arch/arm/winedbg/be_arm.c',
'arch/avr/avr_disasm.c',
#'arch/avr/avr_disasm.c',
'arch/avr/disasm.c',
'arch/cr16/cr16_disas.c',
'arch/cris/gnu/cris-dis.c',
@ -88,8 +88,8 @@ files = [
#'arch/dcpu16/dis.c',
#'arch/dcpu16/main.c',
'arch/ebc/ebc_disas.c',
'arch/gb/gbasm.c',
'arch/gb/gbdis.c',
#'arch/gb/gbasm.c',
#'arch/gb/gbdis.c',
'arch/h8300/h8300_disas.c',
'arch/hexagon/hexagon.c',
'arch/hexagon/hexagon_disas.c',

View File

@ -19,8 +19,8 @@ files = [
#'cmd_help.c',
#'cmd_info.c',
#'cmd_log.c',
'cmd_macro.c',
'cmd_magic.c',
#'cmd_macro.c',
#'cmd_magic.c',
#'cmd_meta.c',
#'cmd_mount.c',
#'cmd_open.c',