re PR target/57792 (toplevel configure should enable "--with-sysroot="xcrun --show-sdk-path"" for darwin13 and later)

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.

From-SVN: r200886
This commit is contained in:
Jack Howarth 2013-07-10 20:52:45 +00:00 committed by Mike Stump
parent 6a2fa4b28e
commit be1a0d71ea
2 changed files with 14 additions and 0 deletions

7
configure vendored
View File

@ -7416,6 +7416,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

@ -2850,6 +2850,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}"