diff mbox

qt5: Disable pkg-config usage for cross-building

Message ID 1474623493.2562.13.camel@synopsys.com
State Rejected
Headers show

Commit Message

Alexey Brodkin Sept. 23, 2016, 9:38 a.m. UTC
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---------------------
-------------------------->8---------------------

-Alexey

Comments

Fabián Inostroza Sept. 24, 2016, 6:05 a.m. UTC | #1
Hi,

Got it working. I tough that the installation process was loading the
setuptools module from my system, because the files related to the
setuptools under the buildroot path were patched to include the additional
options, so I tried uninstalling python-setuptools from my system and now
it completes the build.

This must be a bug, what do you think?

PD: Alexey, sorry for the double mail.

2016-09-23 6:38 GMT-03:00 Alexey Brodkin <Alexey.Brodkin@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
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
diff mbox

Patch

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)