From 7a3bf1d6fce96153c343d79640dd91c119aac579 Mon Sep 17 00:00:00 2001 From: Zoltan Varga Date: Fri, 12 Nov 2010 01:34:58 +0100 Subject: [PATCH] Fix the definition of G_BREAKPOINT on x86 when cross compiling. --- eglib/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1