From 730e9071ef826206a9ae81994fdf6be82661fe3e Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Wed, 10 Jul 2013 20:55:59 +0000 Subject: 2013-07-10 Jack Howarth PR target/57792 * configure.ac: Use --with-sysroot=\"`xcrun --show-sdk-path`\" on darwin13 and later. * configure: Regenerated. --- configure | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 9da645bb6b..551389bc7c 100755 --- a/configure +++ b/configure @@ -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}" -- cgit v1.2.1