[llvm-commits] [llvm-gcc-4.2] r101090 - /llvm-gcc-4.2/trunk/configure.in
Bob Wilson
bob.wilson at apple.com
Mon Apr 12 16:49:22 PDT 2010
Author: bwilson
Date: Mon Apr 12 18:49:22 2010
New Revision: 101090
URL: http://llvm.org/viewvc/llvm-project?rev=101090&view=rev
Log:
Use "-isysroot <path>" instead of "--sysroot=<path>" for --with-build-sysroot.
The Darwin linker does not get the right -isyslibroot option with --sysroot.
Radar 7852964.
Modified:
llvm-gcc-4.2/trunk/configure.in
Modified: llvm-gcc-4.2/trunk/configure.in
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/configure.in?rev=101090&r1=101089&r2=101090&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/configure.in (original)
+++ llvm-gcc-4.2/trunk/configure.in Mon Apr 12 18:49:22 2010
@@ -1524,7 +1524,8 @@
[ --with-build-sysroot=sysroot
use sysroot as the system root during the build],
[if test x"$withval" != x ; then
- SYSROOT_CFLAGS_FOR_TARGET="--sysroot=$withval"
+ # APPLE LOCAL 7852964 Use -isysroot instead of --sysroot.
+ SYSROOT_CFLAGS_FOR_TARGET="-isysroot $withval"
fi],
[SYSROOT_CFLAGS_FOR_TARGET=])
AC_SUBST(SYSROOT_CFLAGS_FOR_TARGET)
More information about the llvm-commits
mailing list