Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Graham Gower <graham.gower@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH] imlib2_svn.bb: Don't use host /usr/X11R6/include and /usr/X11R6/lib.
Date: Wed, 07 Jul 2010 12:10:49 +0930	[thread overview]
Message-ID: <4C33E931.3050103@gmail.com> (raw)

Fixes the following problem, where host asm cannot build for target.

ccache mipsel-angstrom-linux-gcc -march=mips32 -DHAVE_CONFIG_H -I. -I../.. -I../lib -I../../src/lib -DPACKAGE_DATA_DIR=\"/usr/share/imlib2\" -I/home/grg/oe2/tmp/sysroots/mipsel-angstrom-linux/usr/include/freetype2 -I/home/grg/oe2/tmp/sysroots/mipsel-angstrom-linux/usr/include -I/usr/X11R6/include   -isystem/home/grg/oe2/tmp/sysroots/mipsel-angstrom-linux/usr/include -std=gnu99  -isystem/home/grg/oe2/tmp/sysroots/mipsel-angstrom-linux/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3 -MT imlib2_view.o -MD -MP -MF .deps/imlib2_view.Tpo -c -o imlib2_view.o imlib2_view.c
imlib2_view.c: In function 'main':
imlib2_view.c:296: error: can't find a register in class 'COP3_REGS' while reloading 'asm'
imlib2_view.c:296: error: 'asm' operand has impossible constraints

Signed-off-by: Graham Gower <graham.gower@gmail.com>
---
 recipes/efl1/imlib2_svn.bb |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/recipes/efl1/imlib2_svn.bb b/recipes/efl1/imlib2_svn.bb
index 1db9e60..c0616be 100644
--- a/recipes/efl1/imlib2_svn.bb
+++ b/recipes/efl1/imlib2_svn.bb
@@ -4,12 +4,14 @@ LICENSE = "BSD"
 DEPENDS = "freetype libpng jpeg virtual/libx11 libxext"
 PROVIDES = "virtual/imlib2"
 PV = "1.4.2.001+svnr${SRCPV}"
-PR = "r1"
+PR = "r2"
 SRCREV = "${EFL_SRCREV}"
 
 inherit efl
 
-EXTRA_OECONF = "--with-x"
+EXTRA_OECONF = "--with-x \
+		--x-includes=${STAGING_INCDIR} \
+		--x-libraries=${STAGING_LIBDIR} "
 
 # TODO: Use more fine granular version
 #OE_LT_RPATH_ALLOW=":${libdir}/imlib2/loaders:${libdir}/imlib2/filters:"
-- 
1.7.1




                 reply	other threads:[~2010-07-07  2:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C33E931.3050103@gmail.com \
    --to=graham.gower@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox