[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/3] meson: specify fuzz linker script as a project arg
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH 1/3] meson: specify fuzz linker script as a project arg |
Date: |
Wed, 2 Sep 2020 17:45:49 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
On 02/09/20 16:37, Alexander Bulekov wrote:
> +# Specify linker-script with add_project_link_arguments so that it is not
> placed
> +# within a linker --start-group/--end-group pair
> +if 'CONFIG_FUZZ' in config_host
> + config_host += {'QEMU_LDFLAGS': config_host['QEMU_LDFLAGS'] +
> + ' -Wl,-T,' + (meson.current_source_dir() /
> 'tests/qtest/fuzz/fork_fuzz.ld')}
> +endif
> +
> +
Also -- sorry -- please use a separate add_project_link_arguments
invocation.
Paolo