From: Mike Stump Date: Wed, 10 Jul 2013 20:55:59 +0000 (+0000) Subject: 2013-07-10 Jack Howarth X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=79215ca75473b35293c88a17f2b48b58fb8712ae;p=binutils-gdb.git 2013-07-10 Jack Howarth PR target/57792 * configure.ac: Use --with-sysroot=\"`xcrun --show-sdk-path`\" on darwin13 and later. * configure: Regenerated. --- diff --git a/ChangeLog b/ChangeLog index 007f07b48f5..5158cdd2b7e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-07-10 Jack Howarth + + PR target/57792 + * configure.ac: Use --with-sysroot=\"`xcrun --show-sdk-path`\" on darwin13 and later. + * configure: Regenerated. + 2013-06-22 Richard Sandiford * configure.ac (mips*-*-bsd*, mips*-*-ultrix*, mips*-*-osf*) diff --git a/configure b/configure index 9da645bb6b5..551389bc7c9 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}" diff --git a/configure.ac b/configure.ac index 226239b77d0..d4dc10bd725 100644 --- a/configure.ac +++ b/configure.ac @@ -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}"