Skip to content

Commit b5c0f49

Browse files
2013-07-10 Jack Howarth <[email protected]>
PR target/57792 * configure.ac: Use --with-sysroot=\"`xcrun --show-sdk-path`\" on darwin13 and later. * configure: Regenerated.
1 parent e3d9d8d commit b5c0f49

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

ChangeLog

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2013-07-10 Jack Howarth <[email protected]>
2+
3+
PR target/57792
4+
* configure.ac: Use --with-sysroot=\"`xcrun --show-sdk-path`\" on darwin13 and later.
5+
* configure: Regenerated.
6+
17
2013-06-22 Richard Sandiford <[email protected]>
28

39
* configure.ac (mips*-*-bsd*, mips*-*-ultrix*, mips*-*-osf*)

configure

+7
Original file line numberDiff line numberDiff line change
@@ -7420,6 +7420,13 @@ if test x${is_cross_compiler} = xyes ; then
74207420
target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}"
74217421
fi
74227422

7423+
# Pass --with-sysroot on darwin without SDK in /
7424+
case "${target}" in
7425+
x86_64-*-darwin1[3-9]*)
7426+
host_configargs="--with-sysroot=\"`xcrun --show-sdk-path`\" ${host_configargs}"
7427+
;;
7428+
esac
7429+
74237430
# Default to --enable-multilib.
74247431
if test x${enable_multilib} = x ; then
74257432
target_configargs="--enable-multilib ${target_configargs}"

configure.ac

+7
Original file line numberDiff line numberDiff line change
@@ -2854,6 +2854,13 @@ if test x${is_cross_compiler} = xyes ; then
28542854
target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}"
28552855
fi
28562856

2857+
# Pass --with-sysroot on darwin without SDK in /
2858+
case "${target}" in
2859+
x86_64-*-darwin1[[3-9]]*)
2860+
host_configargs="--with-sysroot=\"`xcrun --show-sdk-path`\" ${host_configargs}"
2861+
;;
2862+
esac
2863+
28572864
# Default to --enable-multilib.
28582865
if test x${enable_multilib} = x ; then
28592866
target_configargs="--enable-multilib ${target_configargs}"

0 commit comments

Comments
 (0)