summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/clang/libllvmsupport/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/clang/libllvmsupport/Makefile b/lib/clang/libllvmsupport/Makefile
index 1a2dd20..6dff622 100644
--- a/lib/clang/libllvmsupport/Makefile
+++ b/lib/clang/libllvmsupport/Makefile
@@ -93,3 +93,8 @@ SRCS+= DataExtractor.cpp \
.endif
.include "../clang.lib.mk"
+
+# Ugly hack to work around CLOCK_PROCESS_CPUTIME_ID not being properly defined
+# between r239347 and r245428.
+CXXFLAGS.Process.cpp= -DCLOCK_PROCESS_CPUTIME_ID=15
+CXXFLAGS+= ${CXXFLAGS.${.IMPSRC:T}}
OpenPOWER on IntegriCloud