[Lldb-commits] [lldb] r180126 - Fix CheckPublicAPIHeaders test case
Daniel Malea
daniel.malea at intel.com
Tue Apr 23 10:48:06 PDT 2013
Author: dmalea
Date: Tue Apr 23 12:48:06 2013
New Revision: 180126
URL: http://llvm.org/viewvc/llvm-project?rev=180126&view=rev
Log:
Fix CheckPublicAPIHeaders test case
- LLDB C++ API requires C++11
- provide required -std=c++11 flag if none is specified
Modified:
lldb/trunk/test/api/check_public_api_headers/Makefile
Modified: lldb/trunk/test/api/check_public_api_headers/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/api/check_public_api_headers/Makefile?rev=180126&r1=180125&r2=180126&view=diff
==============================================================================
--- lldb/trunk/test/api/check_public_api_headers/Makefile (original)
+++ lldb/trunk/test/api/check_public_api_headers/Makefile Tue Apr 23 12:48:06 2013
@@ -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
More information about the lldb-commits
mailing list