Adding configure option: -no-gcc-sysroot
authorThomas Senyk <thomas.senyk@pelagicore.com>
Thu, 12 Jul 2012 11:03:16 +0000 (13:03 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 1 Aug 2012 00:25:37 +0000 (02:25 +0200)
commit18654058265dd1198c64d4c742ed4b651a2a7b90
treeb1a509b67ece9bb73d15acc41da907066879c616
parent019b97fc4fc84a9e81c66a659f5d22df2e0b85d6
Adding configure option: -no-gcc-sysroot

This option is important if you want to use configure's
and qmake's -sysroot (e.g. PKG_CONFIG settings, device-files),
but the toolchain (in combination with the rootfs)
is not able to handle gcc's --sysroot.
One known case is freescale's ltib setup where the toolchain
itself comes with all the essential files (e.g. crt1.o),
while the rootfs has none of those files, so gcc's
--sysroot can't be used. The rootfs on the other hand contains
all kinds of "less important" files/packages (e.g. libdbus).
For those "less important" files/packages Qt needs pkg-config
to be able to include/link properly. Therefore one needs
configures -sysroot without gcc's --sysroot.

Change-Id: Iaec9b07012f2945f3ecb3ced0ed95176721b5ecd
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
configure
tools/configure/configureapp.cpp