commit | fda642d075d0888b199983bfd48e4e150a38fb14 | [log] [tgz] |
---|---|---|
author | Alexandre Julliard <julliard@winehq.org> | Wed Mar 04 14:07:49 2009 +0100 |
committer | Alexandre Julliard <julliard@winehq.org> | Wed Mar 04 14:07:49 2009 +0100 |
tree | 3c1203bfe8b91accc2acedb413831b4e6564825d | |
parent | bdd55d0875bcb16180df8cf2349b32fe2aee8fd2 [diff] |
winebuild: Don't output the relay table if no entry point needs it.
diff --git a/tools/winebuild/spec32.c b/tools/winebuild/spec32.c index 24580d4..2e8cf12 100644 --- a/tools/winebuild/spec32.c +++ b/tools/winebuild/spec32.c
@@ -308,8 +308,7 @@ /* output relays */ - /* we only support relay debugging on i386 and x86_64 */ - if (target_cpu != CPU_x86 && target_cpu != CPU_x86_64) + if (!has_relays( spec )) { output( "\t%s 0\n", get_asm_ptr_keyword() ); return;