A lot of predefined macros are just set to the value '1'. So, create a pair of helper for this and use it to limit the use of add_pre_buffer() in target-specific files. Luc Van Oostenryck (2): predefine: add helper predefine_{strong,weak}() predefine: avoid add_pre_buffer() for targets lib.h | 2 ++ pre-process.c | 26 ++++++++++++++++++++++++++ target-arm64.c | 2 +- target-riscv.c | 2 +- 4 files changed, 30 insertions(+), 2 deletions(-) base-commit: 88c90bb192663bfc2dc54782c316e39e6fe26e1d -- 2.27.0