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:
parent
6a2fa4b28e
commit
be1a0d71ea
7
configure
vendored
7
configure
vendored
@ -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}"
|
||||
|
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user