summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-03-04 12:28:12 +0000
committerEric Fiselier <eric@efcs.ca>2017-03-04 12:28:12 +0000
commit45a6abf0fd0b53f4376922d001b291d64ef4d9ce (patch)
tree7a6f80efb53f19d2f89e9a2000d486af05043289
parentb75f6de984f86537776521fb5f8a5f0a801740e7 (diff)
downloadexternal_libcxx-45a6abf0fd0b53f4376922d001b291d64ef4d9ce.tar.gz
external_libcxx-45a6abf0fd0b53f4376922d001b291d64ef4d9ce.tar.bz2
external_libcxx-45a6abf0fd0b53f4376922d001b291d64ef4d9ce.zip
Fix nonsense comment
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@296965 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--utils/libcxx/test/config.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/libcxx/test/config.py b/utils/libcxx/test/config.py
index d85db0e19..d21fc9403 100644
--- a/utils/libcxx/test/config.py
+++ b/utils/libcxx/test/config.py
@@ -401,7 +401,8 @@ class Configuration(object):
if self.is_windows:
self.config.available_features.add('windows')
- # Attempt to detect the glibc version by querying
+ # Attempt to detect the glibc version by querying for __GLIBC__
+ # in 'features.h'.
macros = self.cxx.dumpMacros(flags=['-include', 'features.h'])
if macros is not None and '__GLIBC__' in macros:
maj_v, min_v = (macros['__GLIBC__'], macros['__GLIBC_MINOR__'])