[llvm-commits] [llvm-gcc-4.2] r48519 - /llvm-gcc-4.2/trunk/build_gcc
Devang Patel
dpatel at apple.com
Tue Mar 18 16:58:40 PDT 2008
Author: dpatel
Date: Tue Mar 18 18:58:40 2008
New Revision: 48519
URL: http://llvm.org/viewvc/llvm-project?rev=48519&view=rev
Log:
Fix libstdc++ verison check.
Modified:
llvm-gcc-4.2/trunk/build_gcc
Modified: llvm-gcc-4.2/trunk/build_gcc
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/build_gcc?rev=48519&r1=48518&r2=48519&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/build_gcc (original)
+++ llvm-gcc-4.2/trunk/build_gcc Tue Mar 18 18:58:40 2008
@@ -111,7 +111,9 @@
# This is the libstdc++ version to use.
LIBSTDCXX_VERSION=4.2.1
-if [ ! -d "$DEST_ROOT/include/c++/$LIBSTDCXX_VERSION" ]; then
+# DO NOT USE $DEST_ROOT to check LIBSTDCXX_VERSION here. Directly use /usr here.
+# $DEST_ROOT is /Developer for llvm-gcc
+if [ ! -d "/usr/include/c++/$LIBSTDCXX_VERSION" ]; then
LIBSTDCXX_VERSION=4.0.0
fi
More information about the llvm-commits
mailing list