[Buildroot] [PATCH] qt5: Disable pkg-config usage for cross-building
Alexey Brodkin
Alexey.Brodkin at synopsys.com
Fri Sep 23 09:38:22 UTC 2016
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
More information about the buildroot
mailing list