Configure: use $sysroot, if available, in checkccflags
authorBrian Fraser <fraserbn@gmail.com>
Mon, 13 Jan 2014 05:00:43 +0000 (02:00 -0300)
committerBrian Fraser <fraserbn@gmail.com>
Fri, 17 Jan 2014 14:35:46 +0000 (11:35 -0300)
commit59b6bb412383ca68669f605ae7673af75ee7f4bb
treefd1ca32ef24beeb86cc6584275aa5e08c8016b75
parent8da14febc3ac6edf595a07bc93e3f75859c6ee64
Configure: use $sysroot, if available, in checkccflags

If the user specified -Dsysroot but we don't use it, then the results can
be entirely off.

This also introduces an internal variable for Configure, _sysroot,
which is just "--sysroot=$sysroot", for use in places like checkccflags that
need --sysroot but don't need the other flags.
Configure