diff options
author | Thomas Senyk <thomas.senyk@pelagicore.com> | 2012-07-19 16:39:50 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-20 15:00:14 (GMT) |
commit | eb94e7abb9edf0e852146dd9b4735ebe4256b3d7 (patch) | |
tree | 55cf3b483b0164b094ddf667194a7a79891b1ec3 | |
parent | dc3ceed88dc12b71d7ff6b45a7374257800351ed (diff) | |
download | Qt-eb94e7abb9edf0e852146dd9b4735ebe4256b3d7.zip Qt-eb94e7abb9edf0e852146dd9b4735ebe4256b3d7.tar.gz Qt-eb94e7abb9edf0e852146dd9b4735ebe4256b3d7.tar.bz2 |
Adding cflag -c to configure's --sysroot test.
This forces compiler-only (avoid linker).
Otherwise fails if linker needs more options.
This happens for trimslice using codesourcery
toolchain.
Change-Id: Iea509bf0f53b888505a5ac0fe15b5705712a2fce
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3400,7 +3400,7 @@ fi SYSROOT_FLAG= if [ -n "$CFG_SYSROOT" ]; then - if compilerSupportsFlag --sysroot="$CFG_SYSROOT"; then + if compilerSupportsFlag -c --sysroot="$CFG_SYSROOT"; then [ "$OPT_VERBOSE" = "yes" ] && echo "Setting sysroot to: $CFG_SYSROOT" SYSROOT_FLAG="--sysroot=$CFG_SYSROOT" else |