Fix the definition of G_BREAKPOINT on x86 when cross compiling.
authorZoltan Varga <vargaz@gmail.com>
Fri, 12 Nov 2010 00:34:58 +0000 (01:34 +0100)
committerZoltan Varga <vargaz@gmail.com>
Fri, 12 Nov 2010 00:34:58 +0000 (01:34 +0100)
eglib/configure.ac

index c9de1b48a30eb4ef2bf3a3d7c46f001025c7e553..26a8e58d3232553412fb5ccff1a44b96c01c49cb 100644 (file)
@@ -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