[PATCH] [libcxx] Set -D_LIBCPP_HAS_NO_THREADS and -D_LIBCPP_HAS_NO_MONOTONIC_CLOCK based on available_features

Dan Albert danalbert at google.com
Fri Sep 5 10:18:38 PDT 2014


================
Comment at: lit.cfg:361
@@ +360,3 @@
+
+        if 'no-monotonic-clock' in self.config.available_features:
+            self.compile_flags += ['-D_LIBCPP_HAS_NO_MONOTONIC_CLOCK']
----------------
One nitpick: libcpp-has-no-monotonic-clock to match the other one?

http://reviews.llvm.org/D5214






More information about the cfe-commits mailing list