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;