summaryrefslogtreecommitdiff
path: root/autoconf
diff options
context:
space:
mode:
authorSebastian Pop <spop@codeaurora.org>2012-04-30 20:06:58 +0000
committerSebastian Pop <spop@codeaurora.org>2012-04-30 20:06:58 +0000
commite4f1b370bfbebcb88092caec54450e90f37c100d (patch)
treeda2010de3d76e8dfe8b1bf41492032942c454b90 /autoconf
parent17011050225aebadfdaaf645db692ba825c0c2c4 (diff)
downloadllvm-e4f1b370bfbebcb88092caec54450e90f37c100d.tar.gz
llvm-e4f1b370bfbebcb88092caec54450e90f37c100d.tar.bz2
llvm-e4f1b370bfbebcb88092caec54450e90f37c100d.tar.xz
fix typo
Thanks to "Gabor Greif" <ggreif@gmail.com> for reporting this problem. The configure flag should be --with-default-sysroot as documented, and not --with-sysroot. The reason we don't want to define --with-sysroot is that GCC has a configure flag by that name and it has a different semantics. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155844 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 1da752dc68..e0663cdf92 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -838,7 +838,7 @@ AC_ARG_WITH(gcc-toolchain,
AC_DEFINE_UNQUOTED(GCC_INSTALL_PREFIX,"$withval",
[Directory where gcc is installed.])
-AC_ARG_WITH(sysroot,
+AC_ARG_WITH(default-sysroot,
AS_HELP_STRING([--with-default-sysroot],
[Add --sysroot=<path> to all compiler invocations.]),,
withval="")