qt: add patch to fix build on non-x86 platforms
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 17 Nov 2017 23:02:25 +0000 (00:02 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 18 Nov 2017 08:07:45 +0000 (09:07 +0100)
commite86b74333e740516b6472dab5fa8f7822ae82840
tree4dc8e841a2b676679977a7841e09db121e7c0b55
parent90430237ccdcc369d3e206fdd24266c0cad0dcb6
qt: add patch to fix build on non-x86 platforms

This commit adds a patch to Qt that adjusts its build system to
properly support building on non-x86 platforms. The problem was due to
the PLATFORM and XPLATFORM variables having the same value when
building on a ppc64le system targetting an uncommon architecture
(Xtensa or ARC for example). We fix this problem by making sure
PLATFORM and XPLATFORM will always be different.

Fixes the following build failures occuring on gcc112 (a ppc64le
autobuilder machine):

  http://autobuild.buildroot.net/results/527747a2fbb31195bb6fdb37cfdaa624e69b7d68/
  (qt on xtensa)

  http://autobuild.buildroot.net/results/7db1265f6f34be3a498881564292517a8fc0e44e/
  (qt on ARC)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/qt/0015-configure-fix-build-on-non-x86-platforms.patch [new file with mode: 0644]