From: Zoltan Varga Date: Fri, 12 Nov 2010 00:34:58 +0000 (+0100) Subject: Fix the definition of G_BREAKPOINT on x86 when cross compiling. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=7a3bf1d6fce96153c343d79640dd91c119aac579;p=mono.git Fix the definition of G_BREAKPOINT on x86 when cross compiling. --- diff --git a/eglib/configure.ac b/eglib/configure.ac index c9de1b48a30..26a8e58d323 100644 --- a/eglib/configure.ac +++ b/eglib/configure.ac @@ -16,7 +16,7 @@ BREAKPOINT="G_STMT_START { raise (SIGTRAP); } G_STMT_END" if test x$GCC = xyes; then GNUC_UNUSED='__attribute__((__unused__))' GNUC_NORETURN='__attribute__((__noreturn__))' - case $target_cpu in + case $host_cpu in i*86|x86_64) BREAKPOINT="G_STMT_START { __asm__ (\"int \$03\"); } G_STMT_END" ;; esac fi