Fix pointer size detection when cross-compiling
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>
Wed, 19 Aug 2015 11:21:35 +0000 (13:21 +0200)
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>
Fri, 21 Aug 2015 12:43:41 +0000 (12:43 +0000)
commit19e61ac2907fd453d629d270668139cd1da7e10b
treed7ccf0752f256d4d816d995b0e60548fb46308de
parent5549ba4fa512e0fed8f8dbf4f316293d04793d2f
Fix pointer size detection when cross-compiling

The initial configure fails to build the pointer size test correctly
due to the missing --sysroot argument. This breaks 64-bit targets
as the pointer size is set to 4. A subsequent configure correctly
builds and picks 8 up, but we expect the first attempt to work as well.

Task-number: QTBUG-47840
Change-Id: Iaf9450635f1bbc12e18062fa0a51f35cf690ce08
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
config.tests/unix/ptrsize.test