diff options
author | Jack Howarth <howarth@bromo.med.uc.edu> | 2013-07-10 20:52:45 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2013-07-10 20:52:45 +0000 |
commit | be1a0d71eaad5b6a8edea426153e78da501c618a (patch) | |
tree | 053afeb70f9434b7c512f12a454544792a6e2a31 /configure | |
parent | 6a2fa4b28e0bb4bb48164a8f20900a8ea41159b1 (diff) | |
download | gcc-be1a0d71eaad5b6a8edea426153e78da501c618a.zip gcc-be1a0d71eaad5b6a8edea426153e78da501c618a.tar.gz gcc-be1a0d71eaad5b6a8edea426153e78da501c618a.tar.bz2 |
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
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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}" |