2013-07-10 Jack Howarth <howarth@bromo.med.uc.edu>

PR target/57792
	    * configure.ac: Use --with-sysroot=\"`xcrun --show-sdk-path`\" on darwin13 and later.
	    * configure: Regenerated.
This commit is contained in:
Mike Stump 2013-07-10 20:55:59 +00:00
parent e3d9d8dfdc
commit b5c0f49c13
3 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2013-07-10 Jack Howarth <howarth@bromo.med.uc.edu>
PR target/57792
* configure.ac: Use --with-sysroot=\"`xcrun --show-sdk-path`\" on darwin13 and later.
* configure: Regenerated.
2013-06-22 Richard Sandiford <rdsandiford@googlemail.com>
* configure.ac (mips*-*-bsd*, mips*-*-ultrix*, mips*-*-osf*)

7
configure vendored
View File

@ -7420,6 +7420,13 @@ if test x${is_cross_compiler} = xyes ; then
target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}"
fi
# Pass --with-sysroot on darwin without SDK in /
case "${target}" in
x86_64-*-darwin1[3-9]*)
host_configargs="--with-sysroot=\"`xcrun --show-sdk-path`\" ${host_configargs}"
;;
esac
# Default to --enable-multilib.
if test x${enable_multilib} = x ; then
target_configargs="--enable-multilib ${target_configargs}"

View File

@ -2854,6 +2854,13 @@ if test x${is_cross_compiler} = xyes ; then
target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}"
fi
# Pass --with-sysroot on darwin without SDK in /
case "${target}" in
x86_64-*-darwin1[[3-9]]*)
host_configargs="--with-sysroot=\"`xcrun --show-sdk-path`\" ${host_configargs}"
;;
esac
# Default to --enable-multilib.
if test x${enable_multilib} = x ; then
target_configargs="--enable-multilib ${target_configargs}"