summaryrefslogtreecommitdiffstats
path: root/lldb/test/api/check_public_api_headers/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/api/check_public_api_headers/Makefile')
-rw-r--r--lldb/test/api/check_public_api_headers/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/test/api/check_public_api_headers/Makefile b/lldb/test/api/check_public_api_headers/Makefile
index d94e77c140b..0d5b4eb020e 100644
--- a/lldb/test/api/check_public_api_headers/Makefile
+++ b/lldb/test/api/check_public_api_headers/Makefile
@@ -9,6 +9,11 @@ else
LD_EXTRAS ?= $(LLDB_LIB_DIR)/liblldb.so
endif
+# If no c++ std was specified on CXXFLAGS, use c++11
+ifeq (,$(findstring -std=c++,$(CXXFLAGS)))
+ CFLAGS_EXTRAS := -std=c++11
+endif
+
# Example dictionary to pass to the Python build method:
#
# FRAMEWORK_INCLUDES=-F/Volumes/data/lldb/svn/trunk/build/Debug
OpenPOWER on IntegriCloud