Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Stump <mikestump@comcast.net>2013-07-11 00:55:59 +0400
committerMike Stump <mikestump@comcast.net>2013-07-11 00:55:59 +0400
commitb5c0f49c1393ac336cd9f0724449f28ebb0564df (patch)
treea3498ca8c38f61e0c4aefbd61bf0167f051bcf84 /configure
parente3d9d8dfdc6b78646112f8215ef9b91aba574f5f (diff)
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure
index 9da645bb6..551389bc7 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}"