All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] qt5: Disable pkg-config usage for cross-building
Date: Fri, 23 Sep 2016 09:38:22 +0000	[thread overview]
Message-ID: <1474623493.2562.13.camel@synopsys.com> (raw)
In-Reply-To: <1474615682.2562.11.camel@synopsys.com>

Hi Thomas, Yann,

On Fri, 2016-09-23 at 10:28 +0300, Alexey Brodkin wrote:
> Hi Thomas,
> 
> On Fri, 2016-09-23 at 08:19 +0200, Thomas Petazzoni wrote:
> > 
> > Hello,
> > 
> > On Fri, 23 Sep 2016 06:12:44 +0000, Alexey Brodkin wrote:
> > 
> > > 
> > > 
> > > > 
> > > > 
> > > > Alexey, have you tried the other approaches I outlined in the thread
> > > > where the initial discussion took place???

Ok approach with setting empty QMAKE_CFLAGS_ISYSTEM works for me.

So what about something like that?
-------------------------->8---------------------
diff --git a/package/qt5/qt5base/qmake.conf b/package/qt5/qt5base/qmake.conf
index 2152d3c..49cf898 100644
--- a/package/qt5/qt5base/qmake.conf
+++ b/package/qt5/qt5base/qmake.conf
@@ -19,6 +19,7 @@ QMAKE_CXXFLAGS_RELEASE += -O3
?CONFIG?????????????????+= nostrip
?
?QMAKE_LIBS?????????????+= -lrt -lpthread -ldl
+QMAKE_CFLAGS_ISYSTEM???=
?
?include(../common/linux_device_post.conf)
?load(qt_config)
-------------------------->8---------------------

-Alexey

  reply	other threads:[~2016-09-23  9:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-22 19:48 [Buildroot] [PATCH] qt5: Disable pkg-config usage for cross-building Alexey Brodkin
2016-09-22 20:58 ` Yann E. MORIN
2016-09-23  5:57   ` Thomas Petazzoni
2016-09-23  6:12     ` Alexey Brodkin
2016-09-23  6:19       ` Thomas Petazzoni
2016-09-23  7:28         ` Alexey Brodkin
2016-09-23  9:38           ` Alexey Brodkin [this message]
2016-09-24  6:05             ` Fabián Inostroza

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=1474623493.2562.13.camel@synopsys.com \
    --to=alexey.brodkin@synopsys.com \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.