mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
build: move TARGET_GPROF to config-host.mak
TARGET_GPROF is the same for all targets, write it to config-host.mak instead. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: <20200204161104.21077-1-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
@@ -509,7 +509,7 @@ void signal_init(void)
|
||||
act.sa_flags = SA_SIGINFO;
|
||||
act.sa_sigaction = host_signal_handler;
|
||||
for(i = 1; i <= TARGET_NSIG; i++) {
|
||||
#ifdef TARGET_GPROF
|
||||
#ifdef CONFIG_GPROF
|
||||
if (i == SIGPROF) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user